aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlib/LexerModule.h
diff options
context:
space:
mode:
authormitchell <unknown>2020-06-02 14:31:28 -0400
committermitchell <unknown>2020-06-02 14:31:28 -0400
commit45d4e27aed4e2301a2dd00d8ee59174ff2a2f0db (patch)
treec614d01fc6381a84f9e6332161c71f2c13fd0c81 /lexlib/LexerModule.h
parent60b53eebcce8b069bc9d9c863f9fa283416eeacd (diff)
downloadscintilla-mirror-45d4e27aed4e2301a2dd00d8ee59174ff2a2f0db.tar.gz
Initial, experimental support for upstream ILexer5/lexilla lexers.
Diffstat (limited to 'lexlib/LexerModule.h')
-rw-r--r--lexlib/LexerModule.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lexlib/LexerModule.h b/lexlib/LexerModule.h
index 096df5042..f22729af6 100644
--- a/lexlib/LexerModule.h
+++ b/lexlib/LexerModule.h
@@ -17,6 +17,7 @@ struct LexicalClass;
typedef void (*LexerFunction)(Sci_PositionU startPos, Sci_Position lengthDoc, int initStyle,
WordList *keywordlists[], Accessor &styler);
typedef ILexer *(*LexerFactoryFunction)();
+typedef ILexer5 *(*LexerFactoryFunction5)();
/**
* A LexerModule is responsible for lexing and folding a particular language.
@@ -30,6 +31,7 @@ protected:
LexerFunction fnLexer;
LexerFunction fnFolder;
LexerFactoryFunction fnFactory;
+ LexerFactoryFunction5 fnFactory5;
const char * const * wordListDescriptions;
const LexicalClass *lexClasses;
size_t nClasses;