diff options
Diffstat (limited to 'cocoa/ScintillaCocoa.mm')
| -rw-r--r-- | cocoa/ScintillaCocoa.mm | 5 | 
1 files changed, 5 insertions, 0 deletions
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<NSView*>(wMargin.GetID()); +    [marginView setNeedsDisplay:YES]; +  }    return succeeded;  }  | 
