From a8141c4c11ad77014802d003d649abc8335a4f70 Mon Sep 17 00:00:00 2001
From: Neil
Date: Sat, 14 Dec 2019 08:09:58 +1100
Subject: Remove links to lexers with SCI_EMPTYCATALOGUE definition. This
allows building a version of SciTE that is statically linked to Scintilla and
does not include any lexers but allows the use of lexers provided by loading
a DLL.
---
doc/ScintillaDoc.html | 3 +++
doc/ScintillaHistory.html | 3 +++
2 files changed, 6 insertions(+)
(limited to 'doc')
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html
index fa75790eb..cb237264a 100644
--- a/doc/ScintillaDoc.html
+++ b/doc/ScintillaDoc.html
@@ -6857,6 +6857,9 @@ sptr_t CallScintilla(unsigned int iMessage, uptr_t wParam, sptr_t lParam){
styling and fold points for an unsupported language you can either do this in the container or
better still, write your own lexer following the pattern of one of the existing ones.
+ If the symbol SCI_EMPTYCATALOGUE is defined when building
+ Scintilla, then no lexers are made available but other lexing support code may be present.
+
Scintilla also supports external lexers. These are DLLs (on Windows), .dylib modules (on macOS),
or .so modules (on GTK/Linux) that export three
functions: GetLexerCount, GetLexerName, and
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html
index 9f729fb45..3354bcb3d 100644
--- a/doc/ScintillaHistory.html
+++ b/doc/ScintillaHistory.html
@@ -569,6 +569,9 @@
SCI_LOADLEXERLIBRARY implemented on Cocoa.
+
+ Build Scintilla with SCI_EMPTYCATALOGUE to avoid making lexers available.
+