That’s awesome.That should work perfect for me. Any clue why it wouldn’t work in a newer version of Toad? I was planning to upgrade soon but this small detail is worth not upgrading for now. Thanks for the example.
On Fri, Aug 14, 2015, 2:36 PM Michael Staszewski firstname.lastname@example.org wrote:
RE: Color Highlighting style for JOINS
Reply by Michael Staszewski
Here’s an example I whipped up to show those words in lime green.
In Options on the Editor, Behavior tab click the “…” button in the Languages groupbox to edit the PL/SQL lexer.
On the Highlighting tab click Add to create a new style. Give it a name and set the Font attributes as you want. I chose lime.
On the Rules tab click Add to add a new lexer rule. Give it a name and set the Rule Type to “Tag detector” on the Properties tab to the right.
Set the Style to the newly created style you made in step #2.
On the Conditions click the “+” and check Identifier as the Token type to look for.
Uncheck “Include all tokens” and add JOIN and ON, one per line.
Select the Keywords style, conditions tab and remove JOIN and ON from that parser rule. Click OK and OK again on the options window. JOIN and ON will now be highlighted differently than other keywords. As you add new words to your new parser rule be sure to remove them from the Keywords list.
To reply, please reply-all to this email.
Stop receiving emails on this subject.
Or Unsubscribe from Toad for Oracle - General notifications altogether.
Toad for Oracle - Discussion Forum
Flag this post as spam/abuse.