This version of Unity is unsupported.

TextField.SelectRange

Declaration

public void SelectRange(int rangeCursorIndex, int selectionIndex);

Parameters

selectionIndex The selection end position.

Description

Selects text in the textfield between cursorIndex and selectionIndex.