Dashes in keywords
Posted: Tue Jan 22, 2002 7:19 pm
Hi,
I've written a syntax file where some of the keywords have dashes in the middle, e.g. load-if-defined
but only the "if" in "load-if-defined" highlights ("if" is also a keyword).
I noticed the keywordchars syntax option is gone, and I saw in another post that Textpad works out what characters make up keywords from the syntax file. The only time dash is used is in keywords - it's not an operator or anything else.
Is there anything I can do about it?
I've written a syntax file where some of the keywords have dashes in the middle, e.g. load-if-defined
but only the "if" in "load-if-defined" highlights ("if" is also a keyword).
I noticed the keywordchars syntax option is gone, and I saw in another post that Textpad works out what characters make up keywords from the syntax file. The only time dash is used is in keywords - it's not an operator or anything else.
Is there anything I can do about it?