Syntax Highlighting
Posted: Thu Apr 11, 2002 2:16 pm
I have a probkem with syntax highlighting. In the code below, both instances of the word key are highlighted although the first is a variable name (denoted by the "5" sign) and the second is an actual keyword.
key% = KEY
Does anyone know how to tweak the syntax definition file so that only the "key" after the "=" sign is highlighted? Switching on case-sensitivity is not an option as the language is not case-sensitive.
The same problem occurs if I have the following.
proc key:
key% = KEY
endp
It is almost as if TextPad has to be told "Don't check words finishing with $, %, & or :".
Any help would be much appreciated.
key% = KEY
Does anyone know how to tweak the syntax definition file so that only the "key" after the "=" sign is highlighted? Switching on case-sensitivity is not an option as the language is not case-sensitive.
The same problem occurs if I have the following.
proc key:
key% = KEY
endp
It is almost as if TextPad has to be told "Don't check words finishing with $, %, & or :".
Any help would be much appreciated.