I would advise you to simply always use the space, as this will make your code more readable and may be of help later for any search/replace operation.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I have defined my own user defined language, and it mostly works quite well, but it seems I need a space after the keyword to make it highlight.
I.e.
if (min < 10) will highlight "if" whereas
if(min < 10) will not highlight "if"
Is there a simple solution to this?
Thanks for your help.
Jostein
changing Keyword also to KB, v, V, to hightlight my numbers,
but now highlights all Initial letter v, V !?
http://s4.directupload.net/file/d/1326/oe74ja7h_gif.htm
I would advise you to simply always use the space, as this will make your code more readable and may be of help later for any search/replace operation.
same as here, i would like to highligt numbers in normal Textfiles and only with space runs!
http://s4.directupload.net/file/d/1301/fxrt8lqz_jpg.htm
Just make '(' and ')' as operator will help.
Don
And by the number highlight?
@Don
Brilliant, that did the trick, thanks!!
Jostein
any suggestions to highlight numbers in the right way?
Did you try doing the very same thing? (possibly also symbolizing the comma)