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!