Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#
Experimental: this API is experimental and might be changed or removed in the future.

TextField.SelectRange

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.

Did you find this page useful? Please give it a rating: