diff options
| author | nyamatongwe <unknown> | 2002-02-12 03:36:01 +0000 |
|---|---|---|
| committer | nyamatongwe <unknown> | 2002-02-12 03:36:01 +0000 |
| commit | f0546a3f52cfb6b2d1bfc4ca9343960e40a29f44 (patch) | |
| tree | 7382821157b6d4ce900844210ead235349264245 | |
| parent | 2c7158c928c73f02f4fc448fdd96ba4f45d0ea76 (diff) | |
| download | scintilla-mirror-f0546a3f52cfb6b2d1bfc4ca9343960e40a29f44.tar.gz | |
Made compatible with const correctness done for superclass.
| -rw-r--r-- | win32/ExternalLexer.cxx | 4 | ||||
| -rw-r--r-- | win32/ExternalLexer.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/win32/ExternalLexer.cxx b/win32/ExternalLexer.cxx index 6ca7ad37d..b93cca8f4 100644 --- a/win32/ExternalLexer.cxx +++ b/win32/ExternalLexer.cxx @@ -62,7 +62,7 @@ void DeleteWLStrings(char *strs[]) { } void ExternalLexerModule::Lex(unsigned int startPos, int lengthDoc, int initStyle, - WordList *keywordlists[], Accessor &styler) { + WordList *keywordlists[], Accessor &styler) const { if (!fneLexer) return ; @@ -81,7 +81,7 @@ void ExternalLexerModule::Lex(unsigned int startPos, int lengthDoc, int initStyl } void ExternalLexerModule::Fold(unsigned int startPos, int lengthDoc, int initStyle, - WordList *keywordlists[], Accessor &styler) { + WordList *keywordlists[], Accessor &styler) const { if (!fneFolder) return ; diff --git a/win32/ExternalLexer.h b/win32/ExternalLexer.h index 62d786991..188ded7a5 100644 --- a/win32/ExternalLexer.h +++ b/win32/ExternalLexer.h @@ -31,9 +31,9 @@ public: languageName = name; }; virtual void Lex(unsigned int startPos, int lengthDoc, int initStyle, - WordList *keywordlists[], Accessor &styler); + WordList *keywordlists[], Accessor &styler) const; virtual void Fold(unsigned int startPos, int lengthDoc, int initStyle, - WordList *keywordlists[], Accessor &styler); + WordList *keywordlists[], Accessor &styler) const; virtual void SetExternal(ExtLexerFunction fLexer, ExtFoldFunction fFolder, int index); }; |
