Skip to content

Commit

Permalink
Enable code folding for C# verbatim string.
Browse files Browse the repository at this point in the history
  • Loading branch information
zufuliu committed Nov 13, 2018
1 parent 1bad9c0 commit ed80075
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scintilla/lexers/LexCPP.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1269,10 +1269,10 @@ static void FoldCppDoc(Sci_PositionU startPos, Sci_Position length, int initStyl
levelNext--;
}
}
if (style == SCE_C_TRIPLEVERBATIM) {
if (stylePrev != SCE_C_TRIPLEVERBATIM) {
if (style == SCE_C_TRIPLEVERBATIM || style == SCE_C_VERBATIM) {
if (stylePrev != style) {
levelNext++;
} else if (styleNext != SCE_C_TRIPLEVERBATIM && !atEOL) {
} else if (styleNext != style && !atEOL) {
levelNext--;
}
}
Expand Down

0 comments on commit ed80075

Please sign in to comment.