custom keyword not working !

RobertK

Member³
6.0.1
I want to make use of the "custom keyword" and apply custom highlight - don't work

52miv
 
NO, Nein, Niet...
I wouldn't have taken the screenshot, uploaded the image, created this message if it worked.
 
Robert,
what exactly do you mean with: it does not work? I have added the keywords and colors as in your screenshot. Then when I type 'select' it is not colored green with yellow background but blue and bold. But when I define a custom keyword 'ukofor' it is colored as specified.
So do you think that also 'select' has to be colored green?

greetings,
Uli
 
it could also be that select is considered a keyword before it is considered a custom word. if this is the case, then all three of your examples would have the keyword colouring.
 
Uli, rbrooker
you guys are both correct.

Basically I want SEPARATE custom color for these SQL keywords "SELECT FROM UPDATE" so I can tell immediately where/what the quries are out of the mass of plsql & comments & whatnot.

I agree with rbrokker on what is happening in this case.
And I doubt now if it is possible WITHOUT turning
the default KW highlight OFF.
 
You can only accomplish this by removing these custom keywords from sql.kwf, plsql.kwf, and command.kwf. For each keyword you will find a line like this:
Code:
'FROM' _non_alpha_ st_RESERVED
Just remove it to get custom highlighting.
 
Back
Top