Page 1 of 1

Syntax Highlighting the same word in different colors??

Posted: Fri Jan 23, 2004 4:25 am
by coreyh95
I am looking for a way to highlight keywords that start a sentence a different color than keywords that are contained in a sentence.

Example.
from tablename;
I would like the keyword FROM (located in Keywords 1) in blue

but...
trim(trim_character from trim_source);
I would like the keyword FROM (located in Keywords 2) in red.

Is there a way to differentiate a keyword that begins a statement versus a keyword that is IN a statement?

Any help would be greatly appreciated,
Thank You,
Corey

Posted: Fri Jan 23, 2004 5:08 am
by Bob Hansen
Any help would be greatly appreciated
:idea: If you really mean any, how about using a foreign language?

Change half of them "from" to "de", "da", "von". :twisted:

I think that will be the only way :(

Posted: Fri Jan 23, 2004 12:48 pm
by coreyh95
:D lol! Thanks for the offer.

I suppose I will continue to use case sensitive matching for now.

I've seen [Keywords #] can contain...
G0-99 to selcet a range of numbers,
are there any other special undocumented tricks when providing keywords?

Thanks,
Corey