Skip to content

Commit

Permalink
Fix C++ line continuation broken inside string.
Browse files Browse the repository at this point in the history
  • Loading branch information
zufuliu committed Sep 23, 2023
1 parent e61840c commit cf6ff48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scintilla/lexers/LexCPP.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ void ColouriseCppDoc(Sci_PositionU startPos, Sci_Position length, int initStyle,

case SCE_C_CHARACTER:
case SCE_C_STRING:
if (sc.atLineStart) {
if (sc.atLineStart && !continuationLine) {
isMessagePreprocessor = false;
isIncludePreprocessor = false;
outerStyle = SCE_C_DEFAULT;
Expand Down

0 comments on commit cf6ff48

Please sign in to comment.