diff options
author | Neil <nyamatongwe@gmail.com> | 2017-06-22 17:25:07 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2017-06-22 17:25:07 +1000 |
commit | e7375474b0697983b727a1efd32eb8b6bbbbd00d (patch) | |
tree | 157998ee0755ada4429c080a00a173eb84b07344 /lexers/LexRegistry.cxx | |
parent | 3cd8489f5082c7b95fe5be45caf7fbdfc191f056 (diff) | |
download | scintilla-mirror-e7375474b0697983b727a1efd32eb8b6bbbbd00d.tar.gz |
Merge Ilexer and ILexerWithSubStyles into ILexer4 to avoid need for version
checking in 4.0. Use lvRelease4 ID.
Diffstat (limited to 'lexers/LexRegistry.cxx')
-rw-r--r-- | lexers/LexRegistry.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lexers/LexRegistry.cxx b/lexers/LexRegistry.cxx index b02a0d265..3f54df023 100644 --- a/lexers/LexRegistry.cxx +++ b/lexers/LexRegistry.cxx @@ -166,7 +166,7 @@ public: LexerRegistry() {} virtual ~LexerRegistry() {} int SCI_METHOD Version() const override { - return lvOriginal; + return lvRelease4; } void SCI_METHOD Release() override { delete this; @@ -192,7 +192,7 @@ public: void *SCI_METHOD PrivateCall(int, void *) override { return 0; } - static ILexer *LexerFactoryRegistry() { + static ILexer4 *LexerFactoryRegistry() { return new LexerRegistry; } const char *SCI_METHOD DescribeWordListSets() override { |