From a4c061ceedc1e00d0ba0c8f7ff0e193bdbd4e561 Mon Sep 17 00:00:00 2001 From: Rowan Daniell Date: Tue, 30 Nov 2021 12:39:03 +1100 Subject: Bug [#2292] Fix bug where margin would not draw when scrolled. --- cocoa/ScintillaView.mm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cocoa') 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. -- cgit v1.2.3