From 04255adb3eb4789dff686b7108d691b3aa0a6099 Mon Sep 17 00:00:00 2001 From: Neil Hodgson Date: Sun, 17 Nov 2013 11:54:22 +1100 Subject: =?UTF-8?q?Fix=20problem=20where=20cursor=20didn=E2=80=99t=20chang?= =?UTF-8?q?e=20over=20margin=20after=20showing=20a=20dialog.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cocoa/ScintillaView.mm | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'cocoa/ScintillaView.mm') 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 -- cgit v1.2.3