From a04e3bb80fe893b98f7bd4d66d4bb44ad50b5b13 Mon Sep 17 00:00:00 2001 From: Neil Hodgson Date: Tue, 15 Jul 2014 11:06:00 +1000 Subject: Switch from tracking rectangle to tracking area. This is the more recent Cocoa API and allows detection of mouse movement when the view does not have the focus which is needed for dwell events. --- cocoa/ScintillaView.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cocoa/ScintillaView.h') diff --git a/cocoa/ScintillaView.h b/cocoa/ScintillaView.h index 419c2f28f..102bf3b60 100644 --- a/cocoa/ScintillaView.h +++ b/cocoa/ScintillaView.h @@ -75,7 +75,7 @@ extern NSString *const SCIUpdateUINotification; @private ScintillaView* mOwner; NSCursor* mCurrentCursor; - NSTrackingRectTag mCurrentTrackingRect; + NSTrackingArea *trackingArea; // Set when we are in composition mode and partial input is displayed. NSRange mMarkedTextRange; -- cgit v1.2.3