selection
The current selection range within the text field. Returns TextRange.Zero when no selection is active (cursor at position 0).
The current selection range within the text field. Returns TextRange.Zero when no selection is active (cursor at position 0).