From eed707bb9ad6da944af207a51e4a8d460d6c6846 Mon Sep 17 00:00:00 2001 From: Neil Date: Sun, 22 Dec 2019 22:36:51 +1100 Subject: Define ILexer5 with methods for retrieving name, ID, and property values. Implement ILexer5 on object lexers. Implement ILexer5 on LexerSimple wrapper for function lexers. --- lexilla/src/Lexilla.cxx | 2 +- lexilla/src/Lexilla.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lexilla/src') 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); } -- cgit v1.2.3