From 1b91eb212cce800f698085ea8c49a03291ffcbd8 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 13 Nov 2006 00:49:46 +0000 Subject: Feature request #1593709 adds colouring for strings, both single and double quoted. --- src/LexInno.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/LexInno.cxx b/src/LexInno.cxx index ff99da7e4..5985df23d 100644 --- a/src/LexInno.cxx +++ b/src/LexInno.cxx @@ -172,14 +172,14 @@ static void ColouriseInnoDoc(unsigned int startPos, int length, int, WordList *k case SCE_INNO_STRING_DOUBLE: if (ch == '"' || isEOL) { state = SCE_INNO_DEFAULT; - styler.ColourTo(i,SCE_INNO_DEFAULT); + styler.ColourTo(i,SCE_INNO_STRING_DOUBLE); } break; case SCE_INNO_STRING_SINGLE: if (ch == '\'' || isEOL) { state = SCE_INNO_DEFAULT; - styler.ColourTo(i,SCE_INNO_DEFAULT); + styler.ColourTo(i,SCE_INNO_STRING_SINGLE); } break; -- cgit v1.2.3