Marc Soleda wrote:
I'm trying to add a personalized lexer to SciLexer.dll. I've constructed the
library with the new lexer (based on the cpp one) but even it supports various
word lists, I can't change the words in each wordlist apart from the first one:
m_ScinCtrl.SendMessage(SCI_SETKEYWORDS, 1, (long)_T("G0 G1"));
I suppose that it's something that I've misunderstood but I don't know what exactly it is.
Is there any manual/tutorial that explains, step by step, how to add a lexer with different wordlists?
the tex / metapost lexer has support for different keyword lists
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest