Contents

mouseMoved(onCharacterIndex:coordinate:withModifier:client:)

Handles a mouse-moved event sent to an input method.

Declaration

func mouseMoved(onCharacterIndex index: Int, coordinate point: NSPoint, withModifier flags: Int, client sender: Any!) -> Bool

Parameters

  • index:

    The index within the sender’s text storage where the mouse-moved event occurred.

  • point:

    The point at which the mouse-moved event occurred.

  • flags:

    The modifier keys.

  • sender:

    The client object.

Return Value

true if handled; otherwise false.

Discussion

Implement this method if your input method handles mouse-moved events.

See Also

Handling Mouse Events