aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2002-02-20 02:45:26 +0000
committernyamatongwe <devnull@localhost>2002-02-20 02:45:26 +0000
commit6225fe2e501854136bfa4e2322e52545ed241150 (patch)
treefd2d74f845942f5a5ef886d8e5d9a9a196e4ce49 /src
parentf0e542aa8c84f3cbb4a405416e2c72c7ceb93c02 (diff)
downloadscintilla-mirror-6225fe2e501854136bfa4e2322e52545ed241150.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,