Page 1 of 1

Smart brace matching

Posted: Sun Jun 13, 2004 8:54 am
by gracefool
This thread is a poll for the previous thread.
Eamonn wrote:One of the things about the Match Brace option in TextPad is that it does not ignore comments. Whether this is a bug or not is open to debate, however when the syntax definition file has an option to flag text as comments, it would be nice to have an option to have match brace ignore commented out code when searching for a match in uncommented code.
ben_josephs wrote:And in strings. Annoys me too. I have a great deal of code that deals with text input, and I have to resort to such devices (in C/C++) as

Code: Select all

if ( line[ i ] == '{' )    // }