aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2012-01-24 10:40:19 +1100
committernyamatongwe <unknown>2012-01-24 10:40:19 +1100
commit4e36fb71bdc86ed5d090dfddfb6e0161e5cf7511 (patch)
tree51346ca66a566056e285936a29180d7754473e4a /src/Editor.cxx
parentaa710ea482ff90616361b9b548f0b868c9505943 (diff)
downloadscintilla-mirror-4e36fb71bdc86ed5d090dfddfb6e0161e5cf7511.tar.gz
Redraw all of fold margin for fold margin highlight. Bug #3469936.
From Marko Njezic.
Diffstat (limited to 'src/Editor.cxx')
-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);
}