Multi-colored lines in TextArea

23 views
Skip to first unread message

Rike255

unread,
Jul 21, 2011, 4:04:33 PM7/21/11
to Google Web Toolkit
I'm using a TextArea as a sort of alert log window. Basically my goal
is to highlight major errors in red, normal operational messages in
black, etc.

Is there a way to do this? Possibly applying styles to specific lines
or maybe I need to switch away from a TextArea widget.

Thanks!
Ryan

Jens

unread,
Jul 21, 2011, 4:22:46 PM7/21/11
to google-we...@googlegroups.com
I think you have to use RichTextArea instead of TextArea to be able to style specific lines.

-- J.
Reply all
Reply to author
Forward
0 new messages