You can highlight the text using currently supported functionality in Pivot. You could attach a decorator to a text area (or wrapping label) that paints a rectangle behind the selected text. Alternatively, you could write a decorator that paints bold text over the selected text.
I haven't worked with Flying Saucer enough to know what it supports for transparency. However, given your specific use case, I think I would try the decorator approach first. On May 14, 2010, at 10:14 AM, JohnRodey wrote: > > My use case is like the latter. I want to display something like a news > article and have a find function that will either bold or highlight the > entered text. So I guess Flying Saucer is my option. > > So with Flying Saucer I can embed XHTML into a pivot object such as a > textarea or table cell (which behaves similarly)? > > Will the embedded XHTML support having a transparent background? > > Thanks for the help. > -- > View this message in context: > http://apache-pivot-users.399431.n3.nabble.com/Adding-font-properties-to-a-TextArea-tp444141p817392.html > Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
