I'm not against the omission of text within braces.
But I encountered the problem that this omission is extended until the line break and not broken correctly at the closing_brace.
At the same time this works as intended for '$'.
e.g.:
{ this text is not spell-checked } this text is also not spell-checked
$ this text is not spell-checked $ this text is spell-checked
And btw. the compilation problem I encountered earlier this week was because I didn't checkout the SVN (as it is clearly stated in the HowtoSVN.txt) but used the export function to get the source. Now I'm able to compile.
edit:
I found the problem, there is a small flaw in the if statement:
Code: Select all
if (!braces_.empty() && braces_.back() == GetClosingBrace(ch))
braces_.pop_back();
GetClosingBrace(ch) doesnt really work here because ch is the current char and it supposed to be the closingbrace, get closingbrace of a closing_brace doesnt make much sence, the function should used on braces_.back()
Code: Select all
if (!braces_.empty() && GetClosingBrace(braces_.back()) == ch)
braces_.pop_back();
tested and it works
Sergiu, would you be so kind to activate IGNORE_WORDS_IN_BRACES again