BUG? Dollar sign ($) doesn't syntax highlight
Posted: Fri Sep 26, 2003 8:29 pm
Hi,
I made a Microsoft Basic syn file, but none of the keywords that have a $ sign highlight.. for example MID$, RIGHT$, CHR$, etc. If I change the keyword to just MID, etc, it highlights that part but looks stupid. Also if I add a keyword of $ that highlights all the $'s but again is dumb looking. I have experimented with various combos (with/without $) in InitKeyWordChars and KeyWordChars but nothing seems to help, and those seem to be undocumented as well.
Any suggestions on how to work around this annoying bug?
Jeff
Edit: not only $.. if there is # or & it doesn't highlight either. Also doesn't highlight a two word string such as PRINT # (example: PRINT #1, A$)
p.s. Dev C++ has an option for an underline cursor. Perhaps you can rip the code from there and put it in Textpad so I can have a halfway decent cursor instead of this lame vertical bar?
I made a Microsoft Basic syn file, but none of the keywords that have a $ sign highlight.. for example MID$, RIGHT$, CHR$, etc. If I change the keyword to just MID, etc, it highlights that part but looks stupid. Also if I add a keyword of $ that highlights all the $'s but again is dumb looking. I have experimented with various combos (with/without $) in InitKeyWordChars and KeyWordChars but nothing seems to help, and those seem to be undocumented as well.
Any suggestions on how to work around this annoying bug?
Jeff
Edit: not only $.. if there is # or & it doesn't highlight either. Also doesn't highlight a two word string such as PRINT # (example: PRINT #1, A$)
p.s. Dev C++ has an option for an underline cursor. Perhaps you can rip the code from there and put it in Textpad so I can have a halfway decent cursor instead of this lame vertical bar?