Neil Hodgson wrote:
Ian Mold:
Is it possible to define a set of keywords that contain spaces?
Its not currently implemented in any lexers and is somewhat complex
as the two words may be on separate lines and lexing is often
performed separately for adjacent lines such as when scrolling down
reveals shows one line then the next. Depending on the language, it
may also be possible for comments to appear between the two words.
I think it would require a parser and not just a lexer.
I'm not sure, but I think that "order" and "by" are independent
SQL keywords, so it's ok to mark them as keywords.
I don't think that colorizing keywords with spaces would be useful.
Piotr
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest