aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2001-08-15 08:20:55 +0000
committernyamatongwe <unknown>2001-08-15 08:20:55 +0000
commitdbc212865652198882d42f265c42b7f7eb783393 (patch)
treef18c44a39bfe72613ccdc80b23b654719c11b553
parent633ed21b3f1532dc1554d1a62fc86371db643661 (diff)
downloadscintilla-mirror-dbc212865652198882d42f265c42b7f7eb783393.tar.gz
Fixed some folding symbols.
-rw-r--r--src/Editor.cxx11
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) {