aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2006-02-13 04:29:30 +0000
committernyamatongwe <devnull@localhost>2006-02-13 04:29:30 +0000
commit9c0deaed39b7ec5f4139db7027eabe583c4a90a8 (patch)
tree2f8add959ae7383eb125fbeb93418fa0d4a46673 /src
parent4e14aed3644606b0ab8a55458f73a5a7df1eabf0 (diff)
downloadscintilla-mirror-9c0deaed39b7ec5f4139db7027eabe583c4a90a8.tar.gz
Patch from Sebastian Pipping allows the key for each property to be styled
differently to the value.
Diffstat (limited to 'src')
-rw-r--r--src/LexOthers.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexOthers.cxx b/src/LexOthers.cxx
index 626a2c18c..5f6e7e404 100644
--- a/src/LexOthers.cxx
+++ b/src/LexOthers.cxx
@@ -602,7 +602,7 @@ static void ColourisePropsLine(
while ((i < lengthLine) && (lineBuffer[i] != '='))
i++;
if ((i < lengthLine) && (lineBuffer[i] == '=')) {
- styler.ColourTo(startLine + i - 1, SCE_PROPS_DEFAULT);
+ styler.ColourTo(startLine + i - 1, SCE_PROPS_KEY);
styler.ColourTo(startLine + i, SCE_PROPS_ASSIGNMENT);
styler.ColourTo(endPos, SCE_PROPS_DEFAULT);
} else {