diff options
author | nyamatongwe <unknown> | 2009-05-21 23:10:33 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2009-05-21 23:10:33 +0000 |
commit | 5340cc1e6de155f299ecf16fc257d5e0f5d5c511 (patch) | |
tree | 50ce394a8436316757922306d1ce8e0591bd2f9e /src | |
parent | 769c276ad596c9a391fb1c1f5d2613c66c4ed314 (diff) | |
download | scintilla-mirror-5340cc1e6de155f299ecf16fc257d5e0f5d5c511.tar.gz |
Feature request #2794901 LexLisp: Colourise keyword arguments as symbols
from Eric Kidd.
Diffstat (limited to 'src')
-rw-r--r-- | src/LexLisp.cxx | 3 |
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; |