aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaView.mm
diff options
context:
space:
mode:
Diffstat (limited to 'cocoa/ScintillaView.mm')
-rw-r--r--cocoa/ScintillaView.mm4
1 files changed, 4 insertions, 0 deletions
diff --git a/cocoa/ScintillaView.mm b/cocoa/ScintillaView.mm
index aab78e4bd..eb18ad09e 100644
--- a/cocoa/ScintillaView.mm
+++ b/cocoa/ScintillaView.mm
@@ -202,6 +202,10 @@ static NSCursor *cursorFromEnum(Window::Cursor cursor) {
}
}
+- (void) drawRect: (NSRect) rect {
+ owner.backend->PaintMargin(rect);
+}
+
@end
// Add owner property as a private category.