Option to have match brace ignore comments
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Option to have match brace ignore comments
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.
-
- Posts: 2461
- Joined: Sun Mar 02, 2003 9:22 pm
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
Perhaps a (5-way) poll is in order.
Code: Select all
if ( line[ i ] == '{' ) // }
Poll creation
Yep, you should really create a poll - a five-way-poll.ben_josephs wrote: Perhaps a (5-way) poll is in order.
Cheers
"It's POLYMORPHIC!"
A former colleague
A former colleague