aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2002-04-11 01:39:20 +0000
committernyamatongwe <devnull@localhost>2002-04-11 01:39:20 +0000
commitc2acb8fc6f256399f6bd07d6e01acbd236fddb4a (patch)
tree24f13117d22c50c4266ba89e4bfc9f60f42fa56e
parent34a36178d12a0021dd6c2ac4e1c72b8a77f95dd7 (diff)
downloadscintilla-mirror-c2acb8fc6f256399f6bd07d6e01acbd236fddb4a.tar.gz
Updated instructions for ensuring lexers linked in and explained the procedure used for changing the set of lexers.
-rw-r--r--doc/ScintillaDoc.html12
1 files changed, 10 insertions, 2 deletions
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.
+ </p>
+ <h3>
+ Changing set of lexers
+ </h3>
+ <p>
+ 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.
</p>
</body>
</html>