From ef5c71bb758cbf59a23028be34d475c6c072e5d7 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 21 May 2009 23:10:33 +0000 Subject: Feature request #2794901 LexLisp: Colourise keyword arguments as symbols from Eric Kidd. --- src/LexLisp.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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; -- cgit v1.2.3