diff options
author | nyamatongwe <devnull@localhost> | 2001-08-15 08:20:55 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2001-08-15 08:20:55 +0000 |
commit | 13ccb8451ec037788413244d45d322aa0fcf1be2 (patch) | |
tree | f18c44a39bfe72613ccdc80b23b654719c11b553 /src | |
parent | 8837fdaaa2eaa0c61bf5d02e628b9b3f9a320ff0 (diff) | |
download | scintilla-mirror-13ccb8451ec037788413244d45d322aa0fcf1be2.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) { |