Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » FormText <span> tag not supported?
FormText <span> tag not supported? [message #459097] Mon, 01 August 2005 21:21 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:TableViewer: Images in rows always have same size as image in column header
Next Topic:How to hide/disable a views contents while resizing the view
Goto Forum:
  


Current Time: Sat Oct 24 04:24:38 GMT 2020

Powered by FUDForum. Page generated in 0.01861 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top