aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <unknown>2006-11-13 00:49:46 +0000
committernyamatongwe <unknown>2006-11-13 00:49:46 +0000
commit1b91eb212cce800f698085ea8c49a03291ffcbd8 (patch)
tree5713f473c166ded16a8b420bcafe62b2fa8c3949 /src
parent6b8558d865cb777f784568e24b543c608c809a34 (diff)
downloadscintilla-mirror-1b91eb212cce800f698085ea8c49a03291ffcbd8.tar.gz
Feature request #1593709 adds colouring for strings, both single and double quoted.
Diffstat (limited to 'src')
-rw-r--r--src/LexInno.cxx4
1 files changed, 2 insertions, 2 deletions
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;