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/LexPython.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/LexPython.cxx')
-rw-r--r-- | lexers/LexPython.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lexers/LexPython.cxx b/lexers/LexPython.cxx index 50c3baa8c..21a7fe5a8 100644 --- a/lexers/LexPython.cxx +++ b/lexers/LexPython.cxx @@ -329,7 +329,7 @@ public: delete this; } int SCI_METHOD Version() const override { - return lvSubStyles; + return lvRelease4; } const char *SCI_METHOD PropertyNames() override { return osPython.PropertyNames(); @@ -385,7 +385,7 @@ public: return styleSubable; } - static ILexer *LexerFactoryPython() { + static ILexer4 *LexerFactoryPython() { return new LexerPython(); } |