D. F. Schmidt@legacy41533021 (talk | contribs) m (Reverted edit of Butcher, changed back to last version by Fandyllic) |
Charibot@legacy41530750 (talk | contribs) m (catfix, Replaced: {{widgetmethod}}<br> → {{widgetmethod}}) |
||
(5 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{widgetmethod}} |
||
⚫ | |||
− | {{API/Uncategorized}} |
||
⚫ | |||
+ | EditBox:HighlightText([start], [end]) |
||
− | Start begining at 0 [end] is optional. |
||
+ | == Parameters == |
||
− | '''Editbox:HighlightText(0);''' |
||
+ | === Arguments === |
||
+ | :;Start : [Optional] Integer - the position at which to start the highlight and defaults to 0 if omitted. |
||
− | will highlight the whole EditBox Content. |
||
+ | :;End : [Optional] Integer - the position at which to stop the highlight and defaults to the end of the string if omitted. |
||
+ | == Details == |
||
− | ---- |
||
+ | |||
− | {{WoW API}} |
||
+ | The position before the first character is 0. |
||
+ | |||
+ | Leaving out both parameters, as in '''EditBox:HighlightText()''', will highlight the entire EditBox content. |
Revision as of 23:50, 14 July 2008
The API is no longer being updated here until further notice. |
Highlights the text in an EditBox.
EditBox:HighlightText([start], [end])
Parameters
Arguments
- 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
The position before the first character is 0.
Leaving out both parameters, as in EditBox:HighlightText(), will highlight the entire EditBox content.