From 92b2d0366a0117225bf1e08f6f3a9ad8fda07614 Mon Sep 17 00:00:00 2001 From: Neil Date: Mon, 30 Oct 2023 09:59:10 +1100 Subject: Remove outdated instructions on changing lexers in Scintilla and they are now in Lexilla. --- doc/ScintillaDoc.html | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) (limited to 'doc/ScintillaDoc.html') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index ae1e5a942..0bfd7fa55 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -129,7 +129,7 @@

Scintilla Documentation

-

Last edited 14 January 2023 NH

+

Last edited 30 October 2023 NH

Scintilla 5 has moved the lexers from Scintilla into a new Lexilla project.
@@ -10001,23 +10001,6 @@ EM_SETTARGETDEVICE

When producing a stand-alone Scintilla DLL, the ScintillaDLL.cxx file should be compiled and linked in to provide DllMain and Scintilla_RegisterClasses.

-

Ensuring lexers are linked into Scintilla

- -

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.

- -

Changing set of lexers

- -

To change the set of lexers in Scintilla, add and remove lexer source files - (Lex*.cxx) from the scintilla/lexers directory and run the - scripts/LexGen.py script from the scripts directory to update the make files - and Catalogue.cxx. LexGen.py requires Python 3.6 or later. If you do - not have access to Python, you can hand edit Catalogue.cxx in a simple-minded way, - following the patterns of other lexers. The important thing is to include - LINK_LEXER(lmMyLexer); to correspond with the LexerModule - lmMyLexer(...); in your lexer source code.

-

Building with an alternative Regular Expression implementation

A simple interface provides support for switching the Regular Expressions engine at @@ -10027,7 +10010,7 @@ EM_SETTARGETDEVICE to create an instance of your class. You must disable the built-in implementation by defining SCI_OWNREGEX.

-

Preprocessors affect building

+

Preprocessor definitions that affect building

-- cgit v1.2.3