selectionWillChange(for:)
Tells the system when the selection is about to change in the document.
Declaration
func selectionWillChange(for textInput: any BETextInput)Tells the system when the selection is about to change in the document.
func selectionWillChange(for textInput: any BETextInput)