Inner Document Syntax Highlighting...

Ideas for new features

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

Post Reply

How important is it to you, to have this feature implemented into future versions of TextPad?

Important, even if the efficiency of TextPad degrades
1
14%
Important, even if the size of TextPad increases
2
29%
Somewhat important
1
14%
I'm okay either way
1
14%
Somewhat unimportant
1
14%
Bad idea, even if the size/efficiency of TextPad remains unaffected
1
14%
 
Total votes: 7

mromanch
Posts: 8
Joined: Sat Mar 07, 2009 4:58 am

Inner Document Syntax Highlighting...

Post by mromanch »

It would be really cool if TextPad could change its syntax highlighting pretty much on a per line level. Since I know that would be a pretty tall order, I would settle for the ability to specify special character sequences that switched the highlighting.

For example, I would like to be able to specify that in C, C++, etc... that the sequence "///" meant the highlighting should switch to Doxygen syntax. It should also be possible to instruct TP to keep the normal C, C++, etc... if the sequence is "////..." unless the next or previous non-empty line was the "///" sequence.

Another example would be the ability to detect <style> and <script> blocks in HTML.

I know there are some syntax files out there that try doing this by mixing multiple sets of keywords into a single syntax file. However, this isn't nearly as effective as native support would be.
Post Reply