diff options
| author | mitchell <unknown> | 2020-06-19 08:40:49 -0400 |
|---|---|---|
| committer | mitchell <unknown> | 2020-06-19 08:40:49 -0400 |
| commit | ee0e98b74c7e7c64fb9079cd0bacd4c3e840c3b0 (patch) | |
| tree | 9c3c74b739dfdfaa36dfcb6df613c48fbbf00de5 /lexlib | |
| parent | 6822a42fc6e0d25fe583d8d0fac80946c30bd8ca (diff) | |
| download | scintilla-mirror-ee0e98b74c7e7c64fb9079cd0bacd4c3e840c3b0.tar.gz | |
Reverted experimental Lexilla and SCI_SETILEXER support.
When testing, it works when compiled with debug symbols enabled, but crashes
without them. It doesn't seem worth maintaining.
Diffstat (limited to 'lexlib')
| -rw-r--r-- | lexlib/LexerModule.cxx | 3 | ||||
| -rw-r--r-- | lexlib/LexerModule.h | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/lexlib/LexerModule.cxx b/lexlib/LexerModule.cxx index 592b53871..eecaa7b49 100644 --- a/lexlib/LexerModule.cxx +++ b/lexlib/LexerModule.cxx @@ -35,7 +35,6 @@ LexerModule::LexerModule(int language_, fnLexer(fnLexer_), fnFolder(fnFolder_), fnFactory(nullptr), - fnFactory5(nullptr), wordListDescriptions(wordListDescriptions_), lexClasses(lexClasses_), nClasses(nClasses_), @@ -97,8 +96,6 @@ size_t LexerModule::NamedStyles() const { ILexer *LexerModule::Create() const { if (fnFactory) return fnFactory(); - else if (fnFactory5) - return new LexillaLexer(fnFactory5()); else return new LexerSimple(this); } diff --git a/lexlib/LexerModule.h b/lexlib/LexerModule.h index f22729af6..096df5042 100644 --- a/lexlib/LexerModule.h +++ b/lexlib/LexerModule.h @@ -17,7 +17,6 @@ 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. @@ -31,7 +30,6 @@ protected: LexerFunction fnLexer; LexerFunction fnFolder; LexerFactoryFunction fnFactory; - LexerFactoryFunction5 fnFactory5; const char * const * wordListDescriptions; const LexicalClass *lexClasses; size_t nClasses; |
