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! Alberto --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
