From bc4593ab2fd07b59d3709d36ec951d3fbf0e44ff Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 11 Feb 2002 02:15:56 +0000 Subject: Changes to tighten up styling beyond the bounds of the document. May not be permanent. --- src/LexOthers.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/LexOthers.cxx') diff --git a/src/LexOthers.cxx b/src/LexOthers.cxx index 0814d518c..2c9c3e444 100644 --- a/src/LexOthers.cxx +++ b/src/LexOthers.cxx @@ -217,9 +217,9 @@ static void ColourisePropsLine( if (lineBuffer[i] == '=') { styler.ColourTo(startLine + i - 1, 0); styler.ColourTo(startLine + i, 3); - styler.ColourTo(endPos, 0); + styler.ColourTo(endPos-1, 0); } else { - styler.ColourTo(endPos, 0); + styler.ColourTo(endPos-1, 0); } } } -- cgit v1.2.3