Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Text editor
Text editor [message #452215] Tue, 15 March 2005 14:12 Go to next message
Henrik Skovgaard is currently offline Henrik SkovgaardFriend
Messages: 84
Registered: July 2009
Member
Hi.

Has anyone made a text editor with SWT or is there a snippet somewhere with
examples on setting font-styles on ranges?

Cheers,
Henrik
Re: Text editor [message #452238 is a reply to message #452215] Tue, 15 March 2005 14:31 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
StyledText, no? For an example see
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet163.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup .

If this isn't what you are looking for then please follow up.

Grant

"Henrik Skovgaard" <hsk_rem0vethis_@reklamedata.dk> wrote in message
news:d16qg3$ghp$1@www.eclipse.org...
> Hi.
>
> Has anyone made a text editor with SWT or is there a snippet somewhere
with
> examples on setting font-styles on ranges?
>
> Cheers,
> Henrik
>
>
Re: Text editor [message #452262 is a reply to message #452238] Wed, 16 March 2005 12:09 Go to previous message
Henrik Skovgaard is currently offline Henrik SkovgaardFriend
Messages: 84
Registered: July 2009
Member
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet163.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup .
>
> If this isn't what you are looking for then please follow up.

Great, thanks. Is it possible somehow to get the contents of the StyledText
widget in html or rtf format. Using setText() and getText() removes all the
atyles again..

Is there an equivalent to Swing's JEditorPane in SWT ?

/Henrik
Previous Topic:SWT canvas, images and tranparancies performance issue
Next Topic:Why no widget Interfaces?
Goto Forum:
  


Current Time: Sun Nov 17 04:49:26 GMT 2019

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

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

Back to the top