Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » TextEditor and other goodies
TextEditor and other goodies [message #877287] Sat, 26 May 2012 10:37 Go to next message
Mauro Condarelli is currently offline Mauro CondarelliFriend
Messages: 428
Registered: September 2009
Senior Member
Hi,
I'm a bit confused.
If I understand correctly TextEditor (and all other 3.x goodies under
org.eclipse.ui.*) are available only via the "compatibility layer".
Is this true?
I need a reasonably complete TextEditor (including, at least, Syntax
Highlight, Annotations and, possibly, hovers) does such a thing exist in
"native" e4?
Is there any plan to provide it in a reasonably near future?
Or should I stick to e3.x?

Thanks for any comment
Mauro
Re: TextEditor and other goodies [message #880147 is a reply to message #877287] Fri, 01 June 2012 14:19 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

The Text editor infrastructure depends on the 3.x apis, so it only runs with the 4.2 Workbench (the whole thing).

JFace Text contains the TextViewer, a viewer that wraps SWT StyledText. It's what is used to implement the TextEditor in eclipse. You might be able to get away with writing your own Eclipse4 text editor using TextViewer (SourceViewer is the JFace viewer that is used to implement the java editor).

PW


Re: TextEditor and other goodies [message #880155 is a reply to message #880147] Fri, 01 June 2012 14:26 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
The Simple IDE experiment has an editor with Syntax hightlighting - you
might want to take a look at it.

Tom

Am 01.06.12 16:19, schrieb Paul Webster:
> The Text editor infrastructure depends on the 3.x apis, so it only runs
> with the 4.2 Workbench (the whole thing).
>
> JFace Text contains the TextViewer, a viewer that wraps SWT StyledText.
> It's what is used to implement the TextEditor in eclipse. You might be
> able to get away with writing your own Eclipse4 text editor using
> TextViewer (SourceViewer is the JFace viewer that is used to implement
> the java editor).
>
> PW
>
Re: TextEditor and other goodies [message #1141860 is a reply to message #880155] Thu, 17 October 2013 08:32 Go to previous message
Bosheng Dong is currently offline Bosheng DongFriend
Messages: 2
Registered: October 2013
Junior Member
Hi Thomas,
What do you mean by 'The Simple IDE experiment'. I am now working on some E4 application in which I want to use TextEditor. But now I have no idea about how to include it. Thanks a lot.
Previous Topic:How to get IProgressService
Next Topic:DynamicMenuContribution items are persistent...
Goto Forum:
  


Current Time: Wed Apr 24 23:17:24 GMT 2024

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

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

Back to the top