aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexJSON.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2017-06-22 17:25:07 +1000
committerNeil <nyamatongwe@gmail.com>2017-06-22 17:25:07 +1000
commite7375474b0697983b727a1efd32eb8b6bbbbd00d (patch)
tree157998ee0755ada4429c080a00a173eb84b07344 /lexers/LexJSON.cxx
parent3cd8489f5082c7b95fe5be45caf7fbdfc191f056 (diff)
downloadscintilla-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/LexJSON.cxx')
-rw-r--r--lexers/LexJSON.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/lexers/LexJSON.cxx b/lexers/LexJSON.cxx
index 516aeb933..16b43abf3 100644
--- a/lexers/LexJSON.cxx
+++ b/lexers/LexJSON.cxx
@@ -210,7 +210,7 @@ class LexerJSON : public DefaultLexer {
}
virtual ~LexerJSON() {}
int SCI_METHOD Version() const override {
- return lvOriginal;
+ return lvRelease4;
}
void SCI_METHOD Release() override {
delete this;
@@ -254,7 +254,7 @@ class LexerJSON : public DefaultLexer {
void *SCI_METHOD PrivateCall(int, void *) override {
return 0;
}
- static ILexer *LexerFactoryJSON() {
+ static ILexer4 *LexerFactoryJSON() {
return new LexerJSON;
}
const char *SCI_METHOD DescribeWordListSets() override {