From b9b5cf4cb81c03c1871a40becbe9b4d7807ad600 Mon Sep 17 00:00:00 2001
From: Neil
Date: Sat, 14 Dec 2019 08:09:58 +1100
Subject: Backport: 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.
Backport of changeset 7867:f17a228be4d8.
---
doc/ScintillaDoc.html | 3 +++
1 file changed, 3 insertions(+)
(limited to 'doc/ScintillaDoc.html')
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html
index fa247b35e..d6d98b578 100644
--- a/doc/ScintillaDoc.html
+++ b/doc/ScintillaDoc.html
@@ -6830,6 +6830,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
--
cgit v1.2.3