In a language syntax file (TACL) file defined with C=1 and
BracketChars=//\\|| then if FUP is defined as one of the Keywords:
/FUP / is highlighted properly while /FUP/ is not it seems that the closing / is regarded as part of the word.
Tried to place / as part of OperatorChars still did not work i.e. /FUP / is highlighted ok /FUP/ is not.
However highlighting works ok with \ and |.
Can any one help?
Help with syntax highlighting?
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
- Posts: 5
- Joined: Fri Jul 04, 2003 5:47 am
- Location: Aust
-
- Posts: 5
- Joined: Fri Jul 04, 2003 5:47 am
- Location: Aust
Stephen,
Thanks a million – that got me thinking, it obviously works for you. So tried this out with a c file /int/ and that works. To cut the story short the problem was that I had “I/O� as a keyword I removed it and behold all works well now.
Again thanks been trying to fix this for a long time.
Thanks a million – that got me thinking, it obviously works for you. So tried this out with a c file /int/ and that works. To cut the story short the problem was that I had “I/O� as a keyword I removed it and behold all works well now.
Again thanks been trying to fix this for a long time.