Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Any widget like JTextPane
Any widget like JTextPane [message #466986] Fri, 20 January 2006 16:06 Go to next message
Yin Qiu is currently offline Yin QiuFriend
Messages: 7
Registered: July 2009
Junior Member
Hi, all.

I wonder if SWT or JFace includes a widget like JEditorPane or JTextPane in
Swing. Actually I

want texts with various fonts to be displayed in a text editor. However, as
I know, the

StyledText widget in the custom package does not support this - texts can
only have various font

styles and colors using the StyleRange class. Or to be compromised, is there
any widget that

allows me to have texts with different font sizes shown in a single text
editor?

Thanks.

--
See? It is the Eclipse of the Sun!
Re: Any widget like JTextPane [message #466995 is a reply to message #466986] Fri, 20 January 2006 17:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sunil_kamath.nohotspammail.com

Allen Chue <allenchue@gmail.com> wrote:
> Hi, all.
>
> I wonder if SWT or JFace includes a widget like JEditorPane or
> JTextPane in Swing. Actually I
>
> want texts with various fonts to be displayed in a text editor.
> However, as I know, the
>
> StyledText widget in the custom package does not support this - texts
> can only have various font
>
> styles and colors using the StyleRange class. Or to be compromised,
> is there any widget that
>
> allows me to have texts with different font sizes shown in a single
> text editor?

You will have to wait for the GEF WYSIWYG text editor.
Check the GEF project.

--
Sunil
Re: Any widget like JTextPane [message #466998 is a reply to message #466986] Fri, 20 January 2006 19:24 Go to previous messageGo to next message
Daniel Spiewak is currently offline Daniel SpiewakFriend
Messages: 263
Registered: July 2009
Senior Member
I'm fairly certain they are working on this for StyledText for 3.2. You might want to try the latest milestone.
Re: Any widget like JTextPane [message #467008 is a reply to message #466986] Sat, 21 January 2006 12:02 Go to previous messageGo to next message
Yin Qiu is currently offline Yin QiuFriend
Messages: 7
Registered: July 2009
Junior Member
Thanks for your advice. I'll try both these. But I'm afraid the SWT
milestone version is not stable enough.

--
See? It is the Eclipse of the Sun!
"Allen Chue" <allenchue@gmail.com> д
Re: Any widget like JTextPane [message #467012 is a reply to message #466998] Sun, 22 January 2006 03:30 Go to previous message
Yin Qiu is currently offline Yin QiuFriend
Messages: 7
Registered: July 2009
Junior Member
Awesome! It completely meet my demands. And it has supported image embeded
in a StyledText since M3, which is also what I want. The SWT team really did
a good job. Thanks for your advice.

--
See? It is the Eclipse of the Sun!
"Daniel Spiewak" <djspiewak@gmail.com>
??????:2051689.1137785128614.JavaMail.root@cp1.javalobby.org...
> I'm fairly certain they are working on this for StyledText for 3.2. You
> might want to try the latest milestone.
Previous Topic:where is swt.jar for eclipse 3.1.1?
Next Topic:Running SWT on UNIX
Goto Forum:
  


Current Time: Mon Dec 09 10:21:25 GMT 2024

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

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

Back to the top