Page 1 of 1

Option to have match brace ignore comments

Posted: Thu Jun 10, 2004 11:06 am
by Eamonn
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.

Posted: Thu Jun 10, 2004 3:01 pm
by ben_josephs
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 ] == '{' )    // }
Perhaps a (5-way) poll is in order.

Poll creation

Posted: Thu Jun 10, 2004 3:52 pm
by skaemper
ben_josephs wrote: Perhaps a (5-way) poll is in order.
Yep, you should really create a poll - a five-way-poll.

Cheers