Important:
NSInputServerMouseTracker protocol is deprecated in Mac OS X v10.6 and later. To create input methods, use the Input Method Kit, described in Input Method Kit Framework Reference. For information about text input in Cocoa, see NSTextInputContext Class Reference.
A method identified as deprecated has been superseded and may become unsupported in the future.
A mouse down event happened at given index within the sender text view’s text storage, at the given point, with modifier keys identified in flags. (required) (Deprecated in Mac OS X v10.6.)
- (BOOL)mouseDownOnCharacterIndex:(NSUInteger)index atCoordinate:(NSPoint)point withModifier:(NSUInteger)flags client:(id)sender
Returns YES if it consumes the event; in that case, a mouse dragged or a mouse up message will follow. If NO is returned, then neither of the other two events will follow.
– handleMouseEvent: (NSInputManager)NSInputServer.hA mouse dragged event happened at given index within the sender text view’s text storage, at the given point, with modifier keys identified in flags. (required) (Deprecated in Mac OS X v10.6.)
- (BOOL)mouseDraggedOnCharacterIndex:(NSUInteger)index atCoordinate:(NSPoint)point withModifier:(NSUInteger)flags client:(id)sender
Returns YES if it consumes the event; in that case, either another mouse dragged or a mouse up message will follow. If NO is returned, then neither message will follow.
– handleMouseEvent: (NSInputManager)NSInputServer.hA mouse up event happened at given index within the sender text view’s text storage, at the given point, with modifier keys identified in flags. (required) (Deprecated in Mac OS X v10.6.)
- (void)mouseUpOnCharacterIndex:(NSUInteger)index atCoordinate:(NSPoint)point withModifier:(NSUInteger)flags client:(id)sender
This event is always consumed.
– handleMouseEvent: (NSInputManager)NSInputServer.hLast updated: 2008-10-20