diff options
author | nyamatongwe <unknown> | 2001-08-15 08:20:55 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2001-08-15 08:20:55 +0000 |
commit | dbc212865652198882d42f265c42b7f7eb783393 (patch) | |
tree | f18c44a39bfe72613ccdc80b23b654719c11b553 /src | |
parent | 633ed21b3f1532dc1554d1a62fc86371db643661 (diff) | |
download | scintilla-mirror-dbc212865652198882d42f265c42b7f7eb783393.tar.gz |
Fixed some folding symbols.
Diffstat (limited to 'src')
-rw-r--r-- | src/Editor.cxx | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index ac8cb850c..1735de498 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -822,10 +822,15 @@ void Editor::PaintSelMargin(Surface *surfWindow, PRectangle &rc) { needWhiteClosure = false; } } else if (levelNum > SC_FOLDLEVELBASE) { - if (levelNextNum < levelNum) - marks |= 1 << SC_MARKNUM_FOLDERTAIL; - else + if (levelNextNum < levelNum) { + if (levelNextNum > SC_FOLDLEVELBASE) { + marks |= 1 << SC_MARKNUM_FOLDERMIDTAIL; + } else { + marks |= 1 << SC_MARKNUM_FOLDERTAIL; + } + } else { marks |= 1 << SC_MARKNUM_FOLDERSUB; + } } } else if (levelNum > SC_FOLDLEVELBASE) { if (levelNextNum < levelNum) { |