aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexPerl.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2002-02-12 10:35:17 +0000
committernyamatongwe <devnull@localhost>2002-02-12 10:35:17 +0000
commita60206ecb6729cd1ee44a39aaf132cb60173b32d (patch)
tree3c82f9059fe7001e94745310b8eb4091a0d32bee /src/LexPerl.cxx
parent8fdc38b725ee9cc02900995e41fc9eb35305d611 (diff)
downloadscintilla-mirror-a60206ecb6729cd1ee44a39aaf132cb60173b32d.tar.gz
Minor fixes to lexers.
Diffstat (limited to 'src/LexPerl.cxx')
-rw-r--r--src/LexPerl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexPerl.cxx b/src/LexPerl.cxx
index 71942091b..c8d37f0ba 100644
--- a/src/LexPerl.cxx
+++ b/src/LexPerl.cxx
@@ -656,7 +656,7 @@ static void ColourisePerlDoc(unsigned int startPos, int length, int initStyle,
}
chPrev = ch;
}
- styler.ColourTo(lengthDoc, state);
+ styler.ColourTo(lengthDoc - 1, state);
}
const LexerModule lmPerl(SCLEX_PERL, ColourisePerlDoc, "perl");