Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [e4-dev] Feedback about E4 Tools OrionEditor

Hi Angelo,


On Thu, Mar 6, 2014 at 10:43 AM, Angelo zerr <angelo.zerr@xxxxxxxxx> wrote:

I have noticed that you provide an OrionEditor based on 3x EditorPart + OrionEditorControl : 

http://git.eclipse.org/c/e4/org.eclipse.e4.tools.git/tree/bundles/org.eclipse.e4.tools.orion.text.editor/src/org/eclipse/e4/tools/orion/text/editor/OrionEditor.java

At first why OrionEditor is not based on E4 part?

E4 by itself doesn't have the notion of editors.  The target of this work is to provide CSS/HTML/_javascript_ editing in the Eclipse SDK (3.x based) using the Orion editor (we'll probably update to Orion 5.0 soon).


This is the first pass work done by UCOSP student Léo Denault

From actually loading the content point of view, a longer term goal is to use the FileBuffers and TextFileBuffer API so that it can support some of the common text editor behaviour people expect (like changes in one editor show up if the same file is opened on the other editor).  FileBuffers will also tie into how Eclipse manages encoding, line separators, loading and saving, etc.

PW


--
Paul Webster
Hi floor.  Make me a sammich! - GIR

Back to the top