diff options
author | Neil <nyamatongwe@gmail.com> | 2019-12-22 22:36:51 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2019-12-22 22:36:51 +1100 |
commit | eed707bb9ad6da944af207a51e4a8d460d6c6846 (patch) | |
tree | b504d202eea59088f3290d8c12d3307b17e88b93 /lexilla/src | |
parent | a4bd72249722211f08ffa3e65c664a9ccbbc7f84 (diff) | |
download | scintilla-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 'lexilla/src')
-rw-r--r-- | lexilla/src/Lexilla.cxx | 2 | ||||
-rw-r--r-- | lexilla/src/Lexilla.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lexilla/src/Lexilla.cxx b/lexilla/src/Lexilla.cxx index e12d65640..1e01598f6 100644 --- a/lexilla/src/Lexilla.cxx +++ b/lexilla/src/Lexilla.cxx @@ -322,7 +322,7 @@ LexerFactoryFunction EXPORT_FUNCTION GetLexerFactory(unsigned int index) { return catalogueLexilla.Factory(index); } -ILexer4 EXPORT_FUNCTION *CreateLexer(const char *name) { +ILexer5 EXPORT_FUNCTION *CreateLexer(const char *name) { AddEachLexer(); for (unsigned int i = 0; i < catalogueLexilla.Count(); i++) { const char *lexerName = catalogueLexilla.Name(i); diff --git a/lexilla/src/Lexilla.h b/lexilla/src/Lexilla.h index a2a2e010d..e44567bed 100644 --- a/lexilla/src/Lexilla.h +++ b/lexilla/src/Lexilla.h @@ -8,6 +8,6 @@ extern "C" { -Scintilla::ILexer4 *CreateLexer(const char *name); +Scintilla::ILexer5 *CreateLexer(const char *name); } |