In my scripts I would like to be able to colour variables a certain colour. I prefix my variable names with things like 'd_', 'i_', 'n_'. I think it would be great if I could colour my variable a different colour than other text.
So I would like to define variable names as keywords but using wildcards instead of the full variable name: 'd_*', 'i_*', 'n_*'.
Syntax Highlighting - Allow wildcards to define keywords
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
- Posts: 1
- Joined: Tue Jun 10, 2003 9:55 pm
- Location: US
Actually, I'm of the opinion that Syntax Definitions should be written with regular expressions, not wildcards.
And actually, I think the developers of TextPad should looks at jedit and see how they've done syntax highlighting. jEdit is simply amazing at it in 1.4.2pre2.
I'd also argue that if you allow regular expressions to define syntax files, then you might want to include a fron-end for creating new syntax files.
And actually, I think the developers of TextPad should looks at jedit and see how they've done syntax highlighting. jEdit is simply amazing at it in 1.4.2pre2.
I'd also argue that if you allow regular expressions to define syntax files, then you might want to include a fron-end for creating new syntax files.
Brandon Aiken (a.k.a. da chicken)
Those who will not reason are bigots; those who cannot are fools; and those who dare not are slaves. - Lord Byron
Those who will not reason are bigots; those who cannot are fools; and those who dare not are slaves. - Lord Byron
You can vote for syntax highlighting with Regular Expressions at
Syntax Files - Dynamic Keywords
Syntax Files - Dynamic Keywords