aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaView.mm
diff options
context:
space:
mode:
Diffstat (limited to 'cocoa/ScintillaView.mm')
-rw-r--r--cocoa/ScintillaView.mm7
1 files changed, 7 insertions, 0 deletions
diff --git a/cocoa/ScintillaView.mm b/cocoa/ScintillaView.mm
index 16d21974a..f64d1eaa1 100644
--- a/cocoa/ScintillaView.mm
+++ b/cocoa/ScintillaView.mm
@@ -208,6 +208,7 @@ static NSCursor *cursorFromEnum(Window::Cursor cursor)
// Trigger recreation of the cursor rectangle(s).
[[self window] invalidateCursorRectsForView: self];
+ [mOwner updateMarginCursors];
}
//--------------------------------------------------------------------------------------------------
@@ -1315,6 +1316,12 @@ static NSCursor *cursorFromEnum(Window::Cursor cursor)
//--------------------------------------------------------------------------------------------------
+- (void) updateMarginCursors {
+ [[self window] invalidateCursorRectsForView: marginView];
+}
+
+//--------------------------------------------------------------------------------------------------
+
/**
* Direct call into the backend to allow uninterpreted access to it. The values to be passed in and
* the result heavily depend on the message that is used for the call. Refer to the Scintilla