Fandom

WoWWiki

API EditBox HighlightText

105,020pages on
this wiki
Add New Page
Talk0 Share
Widget API ← EditBox < HighlightText

Highlights the text in an EditBox.

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

Parameters Edit

Arguments Edit

Start 
[Optional] Integer - the position at which to start the highlight and defaults to 0 if omitted.
End 
[Optional] Integer - the position at which to stop the highlight and defaults to the end of the string if omitted.

Details Edit

The position before the first character is 0.

Leaving out both parameters, as in EditBox:HighlightText(), will highlight the entire EditBox content.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.