FormText <span> tag not supported? [message #459097] |
Mon, 01 August 2005 21:21 |
Eclipse User |
|
|
|
Originally posted by: USERjimirwin.DOMAINacm.org
I tried using the org.eclipse.ui.forms.widgets.FormText widget to display
XML formatted text, but can't get the <span> tag to work. Everything
within the <span> tag disappears.
When I step through the code in the debugger, it looks like only <p> and
<li> tags are recognized.
Is the <span> tag ignored? All I really want to do is display some read-
only wrapped text, with certain words or phrases highlighted in red.
--
Jim Irwin
http://www.holoscenes.com
|
|
|
Re: FormText <span> tag not supported? [message #459098 is a reply to message #459097] |
Mon, 01 August 2005 21:27 |
Eclipse User |
|
|
|
Originally posted by: USERjimirwin.DOMAINacm.org
jimirwin <USERjimirwin@DOMAINacm.org> wrote in
news:Xns96A5B08E912EBjrixnews@206.191.52.34:
> I tried using the org.eclipse.ui.forms.widgets.FormText widget to
> display XML formatted text, but can't get the <span> tag to work.
> Everything within the <span> tag disappears.
>
> When I step through the code in the debugger, it looks like only <p>
> and <li> tags are recognized.
>
> Is the <span> tag ignored? All I really want to do is display some
> read- only wrapped text, with certain words or phrases highlighted in
> red.
>
I found the problem. I discovered that <span></span> tags are only
recognized if they occur within <p></p> tags.
--
Jim Irwin
http://www.holoscenes.com
|
|
|
Powered by
FUDForum. Page generated in 0.03605 seconds