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