From c2acb8fc6f256399f6bd07d6e01acbd236fddb4a Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 11 Apr 2002 01:39:20 +0000 Subject: Updated instructions for ensuring lexers linked in and explained the procedure used for changing the set of lexers. --- doc/ScintillaDoc.html | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'doc/ScintillaDoc.html') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 118a8746c..8b1e6dca5 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -1736,8 +1736,16 @@ EM_SETTARGETDEVICE Depending on the compiler and linker used, the lexers may be stripped out. This is most often caused when building a static library. To ensure the lexers are linked in, the Scintilla_LinkLexers() function may be - called. This function is not normally compiled and to ensure it is compiled - the preprocessor symbol LINK_LEXERS should be defined. + called. +

+

+ Changing set of lexers +

+

+ To change the set of lexers in Scintilla, add and remove lexer source files + (Lex*.cxx) from the scintilla/src directory and run the src/LexGen.py script + from the src directory to update the make files and KeyWords.cxx. + LexGen.py requires Pyuthon 2.1 or later.

-- cgit v1.2.3