shellscript-mode: fix colorizing bug on strings

This commit is contained in:
Charlie Gordon 2014-04-10 06:44:55 +00:00
commit 275ef3264a

View file

@ -77,6 +77,8 @@ static void script_colorize_line(QEColorizeContext *cp,
break;
}
SET_COLOR(str, start, i, style);
if (c == str[start])
style = SCRIPT_STYLE_TEXT;
continue;
case ' ':
case '\t':