aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexOthers.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2002-02-11 02:15:56 +0000
committernyamatongwe <unknown>2002-02-11 02:15:56 +0000
commit059b5ea7391a9879a96921b256a185165e8ab2db (patch)
tree8fccbc9b0127de0aa755ebbef0a78b4ca1609bad /src/LexOthers.cxx
parent537e81b993a0118c5c51018f5697ae4f5c1cc3bc (diff)
downloadscintilla-mirror-059b5ea7391a9879a96921b256a185165e8ab2db.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);
}
}
}