WoW:API EditBox HighlightText: Difference between revisions
Jump to navigation
Jump to search
({{widgetmethod}}) |
(Rewrite the entire page to fit the boilerplate and be more descriptive) |
||
Line 1: | Line 1: | ||
{{widgetmethod}} | {{widgetmethod}} | ||
Highlights the text in | Highlights the text in an EditBox. | ||
EditBox:HighlightText([start], [end]) | |||
== Parameters == | |||
=== Arguments === | |||
will highlight the | :;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. |
Revision as of 23:17, 19 September 2006
← Widget API ← EditBox < HighlightText
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.