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 06:37 Go to next message
Mauro Condarelli is currently offline Mauro Condarelli
Messages: 365
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 10:19 Go to previous messageGo to next message
Paul Webster is currently offline Paul Webster
Messages: 6813
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 10:26 Go to previous message
Thomas Schindl is currently offline Thomas Schindl
Messages: 4462
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
>
Previous Topic:Project context menu
Next Topic:Eclipse IDE as a pure E4 IDE
Goto Forum:
  


Current Time: Wed May 22 09:37:36 EDT 2013

Powered by FUDForum. Page generated in 0.01738 seconds