aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlib/LexerModule.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2019-12-22 22:36:51 +1100
committerNeil <nyamatongwe@gmail.com>2019-12-22 22:36:51 +1100
commiteed707bb9ad6da944af207a51e4a8d460d6c6846 (patch)
treeb504d202eea59088f3290d8c12d3307b17e88b93 /lexlib/LexerModule.h
parenta4bd72249722211f08ffa3e65c664a9ccbbc7f84 (diff)
downloadscintilla-mirror-eed707bb9ad6da944af207a51e4a8d460d6c6846.tar.gz
Define ILexer5 with methods for retrieving name, ID, and property values.
Implement ILexer5 on object lexers. Implement ILexer5 on LexerSimple wrapper for function lexers.
Diffstat (limited to 'lexlib/LexerModule.h')
-rw-r--r--lexlib/LexerModule.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lexlib/LexerModule.h b/lexlib/LexerModule.h
index 96cff9645..d3b378c9b 100644
--- a/lexlib/LexerModule.h
+++ b/lexlib/LexerModule.h
@@ -16,7 +16,7 @@ struct LexicalClass;
typedef void (*LexerFunction)(Sci_PositionU startPos, Sci_Position lengthDoc, int initStyle,
WordList *keywordlists[], Accessor &styler);
-typedef ILexer4 *(*LexerFactoryFunction)();
+typedef ILexer5 *(*LexerFactoryFunction)();
/**
* A LexerModule is responsible for lexing and folding a particular language.
@@ -58,7 +58,7 @@ public:
const LexicalClass *LexClasses() const;
size_t NamedStyles() const;
- ILexer4 *Create() const;
+ ILexer5 *Create() const;
virtual void Lex(Sci_PositionU startPos, Sci_Position lengthDoc, int initStyle,
WordList *keywordlists[], Accessor &styler) const;