diff options
author | nyamatongwe <devnull@localhost> | 2002-02-12 10:35:17 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2002-02-12 10:35:17 +0000 |
commit | a60206ecb6729cd1ee44a39aaf132cb60173b32d (patch) | |
tree | 3c82f9059fe7001e94745310b8eb4091a0d32bee /src/KeyWords.cxx | |
parent | 8fdc38b725ee9cc02900995e41fc9eb35305d611 (diff) | |
download | scintilla-mirror-a60206ecb6729cd1ee44a39aaf132cb60173b32d.tar.gz |
Minor fixes to lexers.
Diffstat (limited to 'src/KeyWords.cxx')
-rw-r--r-- | src/KeyWords.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/KeyWords.cxx b/src/KeyWords.cxx index 7aa56d5fe..288c64d21 100644 --- a/src/KeyWords.cxx +++ b/src/KeyWords.cxx @@ -63,7 +63,7 @@ const LexerModule *LexerModule::Find(const char *languageName) { void LexerModule::Lex(unsigned int startPos, int lengthDoc, int initStyle, WordList *keywordlists[], Accessor &styler) const { if (fnLexer) - fnLexer(startPos, lengthDoc, initStyle, keywordlists, styler); + fnLexer(startPos, lengthDoc-1, initStyle, keywordlists, styler); } void LexerModule::Fold(unsigned int startPos, int lengthDoc, int initStyle, |