diff options
Diffstat (limited to 'lexers/LexRegistry.cxx')
| -rw-r--r-- | lexers/LexRegistry.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lexers/LexRegistry.cxx b/lexers/LexRegistry.cxx index bd0ea18f4..71c3535e6 100644 --- a/lexers/LexRegistry.cxx +++ b/lexers/LexRegistry.cxx @@ -161,10 +161,10 @@ class LexerRegistry : public DefaultLexer { } public: - LexerRegistry() {} + LexerRegistry() : DefaultLexer("registry", SCLEX_REGISTRY) {} virtual ~LexerRegistry() {} int SCI_METHOD Version() const override { - return lvOriginal; + return lvIdentity; } void SCI_METHOD Release() override { delete this; @@ -184,6 +184,10 @@ public: } return -1; } + const char * SCI_METHOD PropertyGet(const char *key) override { + return optSetRegistry.PropertyGet(key); + } + Sci_Position SCI_METHOD WordListSet(int, const char *) override { return -1; } |
