RichTextArea highlightin problem

10 views
Skip to first unread message

Taras Muryn

unread,
Sep 18, 2009, 6:08:33 AM9/18/09
to gwt-rich-t...@googlegroups.com
Hi

I am working with a RichTextArea. I have created a basic formatter
like this:

BasicFormatter bf = rta.getBasicFormatter();

Now suppose I write a word in the RichTextArea, for example while.

I know that "while" starts at position 0 and ends at position 4. Is
there a way to have this word bold using the metod
bf.toggleBold()??

I have seen this example: http://examples.roughian.com/index.htm#Widgets~RichTextArea
but this is not what i want: in that example the user chooses with the
mouse the text that he want to be bold.

I want to see bold the text from a startIndex to an EndIndex!

Is this possible? cuold someone help me??

thank you!
--
Taras Muryn
Student

N-iX LLC
Solutions for Your success
http://www.n-ix.com

Pavel J

unread,
Oct 7, 2009, 3:23:03 PM10/7/09
to GWT Rich-Text Editor
Hi Taras,

I'm afraid you're on the wrong mailing list... this is a separate
project.
Please post your question to:
http://groups.google.com/group/Google-Web-Toolkit

Pavel

Surya

unread,
Oct 8, 2009, 5:58:46 AM10/8/09
to GWT Rich-Text Editor
Similarly any suggestions on the drawing??

Thanks
./Surya

Pavel J

unread,
Oct 8, 2009, 12:15:36 PM10/8/09
to GWT Rich-Text Editor
Reply all
Reply to author
Forward
0 new messages