textArea.getSelectedText()?

2008/8/29 Quan <[EMAIL PROTECTED]>

>
> My problem is I need to detect what text string in a TextArea is being
> highlighted. For example, when I highlight a certain text in a
> paragraph and hit a button only that string is shown on a Label. Is
> there some type of Listener for this purpose?
>
> I know this must be possible because the RichTextArea widget has this
> capability, when you highlight a string of text, you can toggle
> different font effects just for that particular string. I've been
> looking into the RichTextArea source but have found no success.
> >
>


-- 
Ian

http://examples.roughian.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to