Page 1 of 1

Commas not recognised as sysntax word boundaries

Posted: Sun Sep 01, 2002 12:39 am
by Glen Edmonds
Hi,

I have a problem with highlighting the following sentance:

command WORD, x

I have defined "coomand" and "WORD" in a syntax file, but WORD doesn't get highlighted unless I put a space between WORD and the comma.

I realise that syntax-file words usually jave spaces following them, but in this case there is a real (and natural) need to have a comma following it.

Does anyone know a way around this?

Thanks, Glen

Re: Commas not recognised as sysntax word boundaries

Posted: Mon Sep 02, 2002 6:20 pm
by Ed
What is your syntax file? If there is a comma in a keyword or in "Other characters in word" under Configure->Preferences then this would cause a problem.