diff options
author | Zufu Liu <unknown> | 2019-09-26 12:19:18 +1000 |
---|---|---|
committer | Zufu Liu <unknown> | 2019-09-26 12:19:18 +1000 |
commit | 25bf64caaf0d68ad74381957256959c27bd95d8d (patch) | |
tree | f82d6fd727567f1524db2123023f9ffd565fd258 /lexers/LexPerl.cxx | |
parent | 2611e5b22a15ee64a4627cc7d3d814b78993495f (diff) | |
download | scintilla-mirror-25bf64caaf0d68ad74381957256959c27bd95d8d.tar.gz |
Feature [feature-requests:#1306] Fold qw arrays.
Diffstat (limited to 'lexers/LexPerl.cxx')
-rw-r--r-- | lexers/LexPerl.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lexers/LexPerl.cxx b/lexers/LexPerl.cxx index 34f525586..af8a580d3 100644 --- a/lexers/LexPerl.cxx +++ b/lexers/LexPerl.cxx @@ -1701,6 +1701,12 @@ void SCI_METHOD LexerPerl::Fold(Sci_PositionU startPos, Sci_Position length, int } else if (ch == ']') { levelCurrent--; } + } else if (style == SCE_PL_STRING_QW) { + // qw + if (stylePrevCh != style) + levelCurrent++; + else if (styleNext != style) + levelCurrent--; } // POD folding if (options.foldPOD && atLineStart) { |