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
commit85d460039b0495d1c4c2cabad840801ac47aed1e (patch)
tree116fe27ce7364b8cb814998463adc3bfcfb95b98 /cocoa/ScintillaView.mm
parent666f5b75fb1c2e65260a4a54d102c0280ff7c01a (diff)
downloadscintilla-mirror-85d460039b0495d1c4c2cabad840801ac47aed1e.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