TextField.SelectRange

public void SelectRange(int rangeCursorIndex, int selectionIndex);

Parameters

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

Description 描述

Selects text in the textfield between cursorIndex and selectionIndex.