Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Eclipse Source Code Editor in e4 RCP
Eclipse Source Code Editor in e4 RCP [message #1416043] Thu, 04 September 2014 08:07 Go to next message
anduril elendil is currently offline anduril elendilFriend
Messages: 5
Registered: June 2014
Junior Member
Hi,

is it possible to use the source code editor known to us from Eclipse in my own e4 RCP application? It is a pure e4 application and if possible I would really like to resign with the compatibility layer.

Currently I am using StyledText for my source code editor but it is a lot of work (syntax highlighting, code completion etc) that I think could be done much more elegant by using the Eclipse source code editor.

Thx
Re: Eclipse Source Code Editor in e4 RCP [message #1417351 is a reply to message #1416043] Fri, 05 September 2014 08:34 Go to previous messageGo to next message
Mihael Schmidt is currently offline Mihael SchmidtFriend
Messages: 81
Registered: August 2010
Member
e3 source code editor in e4 rcp? afaik the answer is ... no.

I think the best choice atm would be the SourceViewer class from JFace. It has all the hooks for the features you listed.
Re: Eclipse Source Code Editor in e4 RCP [message #1419191 is a reply to message #1417351] Mon, 08 September 2014 08:23 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6587
Registered: July 2009
Senior Member
Right anything from eclipse.text and eclipse.jface.text can be used
inside e4 apps - even in a none-swt-env ;-) See
http://tomsondev.bestsolution.at/2014/08/11/efxclipse-1-0-new-features-styledtext-control-to-build-a-code-editor-framework/

Tom

On 05.09.14 10:34, Mihael Schmidt wrote:
> e3 source code editor in e4 rcp? afaik the answer is ... no.
>
> I think the best choice atm would be the SourceViewer class from JFace.
> It has all the hooks for the features you listed.
Previous Topic:Customizing ToolBar
Next Topic:display order of menu items changed when migrated to Eclipse Luna
Goto Forum:
  


Current Time: Wed Mar 03 15:56:39 GMT 2021

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

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

Back to the top