aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaView.mm
diff options
context:
space:
mode:
authorNeil Hodgson <nyamatongwe@gmail.com>2013-11-17 11:54:22 +1100
committerNeil Hodgson <nyamatongwe@gmail.com>2013-11-17 11:54:22 +1100
commit04255adb3eb4789dff686b7108d691b3aa0a6099 (patch)
tree2e0d948e14caf2de5cbabfa1d48948ef5533a177 /cocoa/ScintillaView.mm
parent9b1f7588e1610d4da6a07f336131f8cba4faa100 (diff)
downloadscintilla-mirror-04255adb3eb4789dff686b7108d691b3aa0a6099.tar.gz
Fix problem where cursor didn’t change over margin after showing a dialog.
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