I defined a syntax using the user defined synax highlightling, but would like to be able to do more.   Is there an interface via which tokens and lexemes can be defined, e.g. like in emacs?  If not is there something I can do by writing a new plugin dll?

Thanks,

Tervel