aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2012-01-24 10:40:19 +1100
committernyamatongwe <devnull@localhost>2012-01-24 10:40:19 +1100
commit00f59a2530a85f2da6cfed6245b270fe8e9ae7ab (patch)
tree47937682b230e8b5477201c3c848188a1de01594
parent84e30758dc2f722ee539d7ed256efe9e7b3c09cf (diff)
downloadscintilla-mirror-00f59a2530a85f2da6cfed6245b270fe8e9ae7ab.tar.gz
Redraw all of fold margin for fold margin highlight. Bug #3469936.
From Marko Njezic.
-rw-r--r--src/Editor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 1e7df0320..26032b85f 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -4643,7 +4643,7 @@ void Editor::NotifyModified(Document *, DocModification mh, void *) {
if ((!willRedrawAll) && ((paintState == notPainting) || !PaintContainsMargin())) {
if (mh.modificationType & SC_MOD_CHANGEFOLD) {
// Fold changes can affect the drawing of following lines so redraw whole margin
- RedrawSelMargin(mh.line-1, true);
+ RedrawSelMargin(highlightDelimiter.isEnabled ? -1 : mh.line-1, true);
} else {
RedrawSelMargin(mh.line);
}