void SelectionChangedCallback(TextSelection selection, SelectionChangedCause cause)

Signature for the callback that reports when the user changes the selection (including the cursor location).