Contents

selectionDidChange(for:)

Tells the system when the selection has changed in the document.

Declaration

func selectionDidChange(for textInput: any BETextInput)

Discussion

This method results in an document state refresh with an invocation to: -[BETextInput requestTextContextForAutocorrectionWithCompletionHandler:]

See Also

Text selection