Thread Tools Display Modes
Prev Previous Post   Next Post Next
10-04-11, 09:25 AM   #1
killerpet1986
A Fallenroot Satyr
 
killerpet1986's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2008
Posts: 22
Post Getting EditBox Highlighted Text

Is there any way to get the start and end position of the text being highlighted in an editbox?

EditBox:GetCursorPosition() will only return the end position. I guess I could call EditBox:GetCursorPosition() when an OnMouseDown event occurs. Is there any other way?
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Getting EditBox Highlighted Text


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off