Option to have match brace ignore comments

Ideas for new features

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Eamonn
Posts: 1
Joined: Thu Jun 10, 2004 11:03 am

Option to have match brace ignore comments

Post 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.
ben_josephs
Posts: 2461
Joined: Sun Mar 02, 2003 9:22 pm

Post 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.
User avatar
skaemper
Posts: 51
Joined: Mon Mar 03, 2003 1:07 pm
Location: (Northern) Germany
Contact:

Poll creation

Post 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
"It's POLYMORPHIC!"
A former colleague
Post Reply