aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <unknown>2002-02-20 02:45:26 +0000
committernyamatongwe <unknown>2002-02-20 02:45:26 +0000
commitbd7134dad5df93e1c3c1652f763c8deaae1052ed (patch)
treefd2d74f845942f5a5ef886d8e5d9a9a196e4ce49 /src
parentf1bc4c2f47e111578ddaf3e51394b88edf030c3e (diff)
downloadscintilla-mirror-bd7134dad5df93e1c3c1652f763c8deaae1052ed.tar.gz
Changed back to lexing full length rather than 1 less.
Diffstat (limited to 'src')
-rw-r--r--src/KeyWords.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/KeyWords.cxx b/src/KeyWords.cxx
index bc55e988b..d1eddef5f 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-1, initStyle, keywordlists, styler);
+ fnLexer(startPos, lengthDoc, initStyle, keywordlists, styler);
}
void LexerModule::Fold(unsigned int startPos, int lengthDoc, int initStyle,