From 9929e5c1ddf785456cd57ea893fef1bd3c397ca2 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 24 Mar 2013 08:49:14 +1100 Subject: Fixed painting of margin view when lines wrapped inside paint of text view. --- cocoa/ScintillaCocoa.mm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm index 31b382f3e..2833e7846 100644 --- a/cocoa/ScintillaCocoa.mm +++ b/cocoa/ScintillaCocoa.mm @@ -1532,6 +1532,11 @@ bool ScintillaCocoa::SyncPaint(void* gc, PRectangle rc) delete sw; } paintState = notPainting; + if (!succeeded) + { + NSView *marginView = static_cast(wMargin.GetID()); + [marginView setNeedsDisplay:YES]; + } return succeeded; } -- cgit v1.2.3