RSS

Вторник, 05.11.2024, 19:18
Главная » WoW API » API Виджеты » Окно редактирования »

EditBox:HighlightText([start [, end]])

[ править ]
Selects all or a portion of the text in the edit box.
[клоны]
Selects all or a portion of the text in the edit box.


Signature:
Code
EditBox:HighlightText([start [, end]])

Arguments:
  • start - Character position at which to begin the selection (between 0, for the position before the first character, and editbox:GetNumLetters(), for the position after the last character); defaults to 0 if not specified (number)
  • end - Character position at which to end the selection; if not specified or if less than start, selects all characters after the start position; if equal to start, selects nothing and positions the cursor at the start position (number)

Также смотрите: Окно редактирования
Ссылки: http://wowprogramming.com/docs/widgets/EditBox/HighlightText