textViewDidChangeSelection(_:)
Sent when the selection changes in the text view.
Declaration
@MainActor optional func textViewDidChangeSelection(_ notification: Notification)Parameters
- notification:
A notification named Didchangeselectionnotification.