diff options
Diffstat (limited to 'doc/ScintillaDoc.html')
-rw-r--r-- | doc/ScintillaDoc.html | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 53bfec16a..b4eae90ea 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -269,7 +269,7 @@ <h2 class="provisional">Lexilla</h2> <p>For Scintilla 5.0, lexers will be split off into a separate Lexilla library. - Scintilla will be responsible for the GUI and calling lexers and Lexilla will provide the lexers. + Scintilla will be responsible for the GUI and calling lexers with Lexilla providing the lexers. To allow work towards this with Scintilla 4.x, the first stage is to allow building Lexilla but also include the lexers in Scintilla.</p> @@ -288,6 +288,9 @@ is exposed which will create a lexer object (ILexer5 *) for any object lexer or function lexer. </p> + <p>A lexer created by Lexilla may be used in Scintilla by calling + <a class="seealso" href="#SCI_SETILEXER">SCI_SETILEXER</a>.</p> + <h2 id="MessageCategories">Contents</h2> <table class="categories" summary="Message categories"> @@ -6891,6 +6894,7 @@ sptr_t CallScintilla(unsigned int iMessage, uptr_t wParam, sptr_t lParam){ <a class="message" href="#SCI_SETLEXERLANGUAGE">SCI_SETLEXERLANGUAGE(<unused>, const char *language)</a><br /> <a class="message" href="#SCI_GETLEXERLANGUAGE">SCI_GETLEXERLANGUAGE(<unused>, char *language) → int</a><br /> + <a class="message" href="#SCI_SETILEXER">SCI_SETILEXER(<unused>, pointer lexer)</a><br /> <a class="message" href="#SCI_LOADLEXERLIBRARY">SCI_LOADLEXERLIBRARY(<unused>, const char *path)</a><br /> <a class="message" href="#SCI_COLOURISE">SCI_COLOURISE(position start, position end)</a><br /> @@ -6941,6 +6945,10 @@ sptr_t CallScintilla(unsigned int iMessage, uptr_t wParam, sptr_t lParam){ <code>Lex*.cxx</code> file and search for <code>LexerModule</code>. The third argument in the <code>LexerModule</code> constructor is the name to use.</p> + <p class="provisional"><b id="SCI_SETILEXER">SCI_SETILEXER(<unused>, pointer lexer)</b><br /> + <code>SCI_SETILEXER</code> allows setting a lexer as an <code>ILexer5*</code>. + The lexer may be implemented by an application or a shared library such as Lexilla.</p> + <p>To test if your lexer assignment worked, use <a class="message" href="#SCI_GETLEXER"><code>SCI_GETLEXER</code></a> before and after setting the new lexer to see if the lexer number changed.</p> |