aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2009-05-21 23:10:33 +0000
committernyamatongwe <devnull@localhost>2009-05-21 23:10:33 +0000
commitef5c71bb758cbf59a23028be34d475c6c072e5d7 (patch)
tree50ce394a8436316757922306d1ce8e0591bd2f9e /src
parentb719d7b9e02af4332b30886a9798ea57bb1484d0 (diff)
downloadscintilla-mirror-ef5c71bb758cbf59a23028be34d475c6c072e5d7.tar.gz
Feature request #2794901 LexLisp: Colourise keyword arguments as symbols
from Eric Kidd.
Diffstat (limited to 'src')
-rw-r--r--src/LexLisp.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/LexLisp.cxx b/src/LexLisp.cxx
index 1072e13a3..8784e388a 100644
--- a/src/LexLisp.cxx
+++ b/src/LexLisp.cxx
@@ -100,6 +100,9 @@ static void ColouriseLispDoc(unsigned int startPos, int length, int initStyle, W
styler.ColourTo(i - 1, state);
radix = -1;
state = SCE_LISP_MACRO_DISPATCH;
+ } else if (ch == ':' && isLispwordstart(chNext)) {
+ styler.ColourTo(i - 1, state);
+ state = SCE_LISP_SYMBOL;
} else if (isLispwordstart(ch)) {
styler.ColourTo(i - 1, state);
state = SCE_LISP_IDENTIFIER;