Ian Mold wrote:
Is it possible to define a set of keywords that contain spaces?
Purely as an example, in SQL I would like to see 'order by' highlighted as a keyword, but 'order' and 'by' highlighted as errors if they are not side-by-side. Is this possible without code changes?

Currently no, at least because the keyword list is splitted on space char... Plus the lexer searches the last word in the keyword list when it finds a non-word char, the list of word chars (ie. chars used in identifiers) being hard-coded.

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to