Skip to content

Instantly share code, notes, and snippets.

@emk
Created May 21, 2009 15:46
Show Gist options
  • Save emk/115537 to your computer and use it in GitHub Desktop.
Save emk/115537 to your computer and use it in GitHub Desktop.
diff --git a/src/stc/scintilla/src/LexLisp.cxx b/src/stc/scintilla/src/LexLisp.cxx
index 1072e13..8784e38 100644
--- a/src/stc/scintilla/src/LexLisp.cxx
+++ b/src/stc/scintilla/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;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment