Skip to main content



      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
Eclipse UserFriend
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
Eclipse UserFriend
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 messageGo to next message
Eclipse UserFriend
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 04:32 Go to previous message
Eclipse UserFriend
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: Thu Jul 03 13:37:17 EDT 2025

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

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

Back to the top