Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API EditBox HighlightText

Last wiki revision 2021-08-09

Selects text in an EditBox. EditBox:HighlightText([start, [end]])

  • start : Number - the position at which to start the highlight; defaults to 0 if not specified.
  • end : Number - the position at which to stop the highlight; defaults to the end of the string if not specified. Indices use standard Lua semantics, so -1 is the end of the string.
  • The position before the first character is 0.
  • Leaving out both parameters, as in EditBox:HighlightText, will highlight the entire EditBox content.

Source

https://warcraft.wiki.gg/wiki/API_EditBox_HighlightText · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.