diff options
-rw-r--r-- | doc/ScintillaDoc.html | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index d4bea6b60..1110f7e46 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -119,7 +119,7 @@ <h1>Scintilla Documentation</h1> - <p>Last edited 29 March 2020 NH</p> + <p>Last edited 9 September 2020 NH</p> <p>There is <a class="jump" href="Design.html">an overview of the internal design of Scintilla</a>.<br /> @@ -289,6 +289,16 @@ As the protocol only supports object lexers, an additional function <code>CreateLexer(const char *name)</code> is exposed which will create a lexer object (ILexer5 *) for any object lexer or function lexer. </p> + + <p>Lexer libraries that provide the same functions as Lexilla may provide lexers for use by Scintilla, + augmenting or replacing those provided by Lexilla. + To allow initialisation of lexer libraries, a <code>SetLibraryProperty(const char *key, const char *value)</code> + may optionally be implemented. For example, a lexer library that uses XML based lexer definitions may + be provided with a directory to search for such definitions. + Lexer libraries should ignore any properties that they do not understand. + The set of properties supported by a lexer library is specified as a '\n' separated list of property names by + an optional <code>const char *GetLibraryPropertyNames()</code> function. + </p> <p>A lexer created by Lexilla may be used in Scintilla by calling <a class="seealso" href="#SCI_SETILEXER">SCI_SETILEXER</a>.</p> |