Version: 2019.1
Experimental: this API is experimental and might be changed or removed in the future.

TextField.SelectRange

Switch to Manual
public void SelectRange (int cursorIndex, int selectionIndex);

Parameters

cursorIndexThe caret and selection start position.
selectionIndexThe selection end position.

Description

Selects text in the textfield between cursorIndex and selectionIndex.