aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaView.h
diff options
context:
space:
mode:
authorNeil Hodgson <nyamatongwe@gmail.com>2014-07-15 11:06:00 +1000
committerNeil Hodgson <nyamatongwe@gmail.com>2014-07-15 11:06:00 +1000
commita04e3bb80fe893b98f7bd4d66d4bb44ad50b5b13 (patch)
tree0d2e736ba8d96afa20ae328622dc07f2beb3a66a /cocoa/ScintillaView.h
parent865fc9645773c48dbc0eee924c15bb04a651dcdb (diff)
downloadscintilla-mirror-a04e3bb80fe893b98f7bd4d66d4bb44ad50b5b13.tar.gz
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.
Diffstat (limited to 'cocoa/ScintillaView.h')
-rw-r--r--cocoa/ScintillaView.h2
1 files changed, 1 insertions, 1 deletions
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;