aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexOthers.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2002-02-11 02:15:56 +0000
committernyamatongwe <devnull@localhost>2002-02-11 02:15:56 +0000
commitbc4593ab2fd07b59d3709d36ec951d3fbf0e44ff (patch)
tree8fccbc9b0127de0aa755ebbef0a78b4ca1609bad /src/LexOthers.cxx
parent58a3f8eee17d6d083c09822ea83719980fbb2b3e (diff)
downloadscintilla-mirror-bc4593ab2fd07b59d3709d36ec951d3fbf0e44ff.tar.gz
Changes to tighten up styling beyond the bounds of the document.
May not be permanent.
Diffstat (limited to 'src/LexOthers.cxx')
-rw-r--r--src/LexOthers.cxx4
1 files changed, 2 insertions, 2 deletions
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);
}
}
}