diff options
Diffstat (limited to 'src/LexPerl.cxx')
-rw-r--r-- | src/LexPerl.cxx | 2 |
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"); |