[flexcoders] Highlight a word in a RichTextEditor

2007-05-23 Thread Julien Phalip
Hi all, Would you know how to highlight a word in a RichTextEditor? I'd like to underline a word, not by using TextFormat.underline but by putting a sort of lacy line like when a word is mispelled in MS Word. Hope you can help me on that. Cheers! Julien

Re: [flexcoders] Highlight a word in a RichTextEditor

2007-05-23 Thread Tom Chiverton
On Wednesday 23 May 2007, Julien Phalip wrote: Would you know how to highlight a word in a RichTextEditor? RTE has a htmlText property that understands simple HTML, so something like the following: rte.htmlText=rte.htmlText.replace(someString,font color=redu+someString+/u/font) is possible.