Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: logic.cpp on April 18, 2013, 06:15:27 AM

Title: Selecting/Highlighting Text
Post by: logic.cpp on April 18, 2013, 06:15:27 AM
Selecting/Highlighting text in a label (or any other text widget) for further processing of highlighted text - Possible? How?

If not, workaround?

Desired effect: Click & Drag mouse over text causes text background to highlight, any text highlighted becomes available in some variable.
(Currently Unity GUI offers this functionality, with the help of its undocumented TextEditor class)
Title: Re: Selecting/Highlighting Text
Post by: ArenMook on April 18, 2013, 05:48:44 PM
Not currently possible, but I vaguely remember there being an add-on for NGUI that made it possible. I don't have a link off the top of my head, however.
Title: Re: Selecting/Highlighting Text
Post by: Wonse on March 12, 2015, 10:36:32 AM
2 years later, is this possible now ?
Title: Re: Selecting/Highlighting Text
Post by: ArenMook on March 12, 2015, 08:29:00 PM
If it's an input field you can do it, yes.