diff options
author | Neil <nyamatongwe@gmail.com> | 2013-12-17 09:03:58 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2013-12-17 09:03:58 +1100 |
commit | ed6d786f04ec418383a2b201e2f6bb6b38b29aa5 (patch) | |
tree | c3fcefafe042a57ccf48a8ec275b578029296209 /lexers/LexCPP.cxx | |
parent | 4470146b7aa400114172f2dde2da89b81e8ffd81 (diff) | |
download | scintilla-mirror-ed6d786f04ec418383a2b201e2f6bb6b38b29aa5.tar.gz |
Bug [#1564]. Keyword followed immediately by quoted string continued keyword style.
Diffstat (limited to 'lexers/LexCPP.cxx')
-rw-r--r-- | lexers/LexCPP.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lexers/LexCPP.cxx b/lexers/LexCPP.cxx index 1ec16898f..76a47e058 100644 --- a/lexers/LexCPP.cxx +++ b/lexers/LexCPP.cxx @@ -683,6 +683,8 @@ void SCI_METHOD LexerCPP::Lex(unsigned int startPos, int length, int initStyle, sc.ChangeState((raw ? SCE_C_STRINGRAW : SCE_C_STRING)|activitySet); else sc.ChangeState(SCE_C_CHARACTER|activitySet); + } else { + sc.SetState(SCE_C_DEFAULT | activitySet); } } else { sc.SetState(SCE_C_DEFAULT|activitySet); |