[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [e4-dev] Orion CSS preference editor
|
Angelo,
What I'd really be interested in is seeing you do the equivalent of CodeMirror-Eclipse using the Orion editor. If there are things in Orion that would make that difficult, we definitely want to fix them.
McQ.
Angelo zerr ---2013/09/09 08:10:45---Paul, if you are interested I could do the same thing that you have done with Orion but with my Code
From: Angelo zerr <angelo.zerr@xxxxxxxxx>
To: E4 Project developer mailing list <e4-dev@xxxxxxxxxxx>,
Date: 2013/09/09 08:10
Subject: Re: [e4-dev] Orion CSS preference editor
Sent by: e4-dev-bounces@xxxxxxxxxxx
Paul, if you are interested I could do the same thing that you have done with Orion but with my CodeMirror Eclipse (it will be easy to do that), but I'm not sure that E4 wish to use CodeMirror.
Tell me if you are interested.
Regards Angelo
2013/9/9 Angelo zerr <angelo.zerr@xxxxxxxxx>
Hi Paul,
I have tried to play with your CSS Editor but it doesn't works for me. The browser displays the content of the CSS but syntax coloring + completion doesn't work. I use Windows and my Browser is IE8.
After debugging your plugin, it seems that Orion code doesn't support IE8 (code uses JSON object, Array#forEach which is not supported by IE8).
For your information I have done the similiar thing with https://github.com/angelozerr/CodeMirror-Eclipse It embedds CodeMirror with SWT Browser and it works with RAP too
You can find online demo at http://cmeclipse-2.opensagres.eu.cloudbees.net/codemirror You will find a CSS Editor which manages completion, folding, validation, matching bracket, close bracket, etc.
It works with IE because CodeMirror supports IE. You can change the theme of the CSS editor with Windows/Preferences -> CSS/Theme
CodeMirror Eclipse provides too a preference page to select your browser (Mozilla, WebKit).
Here conclusion about my little experience with SWT Browser/ HTML editor :
1) the JS editor used should support IE (CodeMirror supports IE).
2) <meta http-equiv="X-UA-Compatible" content="IE=edge" /> should be included in the HTML page
3) avoid using IE, it's better (IE is slow). For instance, CodeMirror Eclipse provides a preference page to select Web Browser (Mozzila, WebKit).
4) editor JS must manage fullScreen mode. CodeMirror supports fullScreen so you have not the impressions that a browser is used.
For CSS features, I think validation and completion (as you have managed) is important. After that if you can add some cool feature like folding, comments, format, matching bracket,ntext hover it should be better.
Hope my post will help you.
Regards Angelo
2013/9/8 Wim Jongman <wim.jongman@xxxxxxxxx>
Never mind, I found the bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=410841
On Sun, Sep 8, 2013 at 10:28 PM, Wim Jongman <wim.jongman@xxxxxxxxx> wrote:
Hi Paul,
I have installed it. Do you have some but some instructions on how to use it? What is the bug number?
Regards,
Wim
On Fri, Sep 6, 2013 at 7:47 PM, Paul Webster <pwebster@xxxxxxxxxxxxxxxxxxx> wrote:
I've released an Orion based CSS preference editor. It can be installed from http://download.eclipse.org/e4/updates/0.15-I-builds
"CSS file editor > E4 Orion CSS Preference editor (Incubation)"
It supports the swt-* properties for content assist. It's a start, but can definitely use some additions to the content assist/templates. It's based on the orion editor 3.0
Please feel free to test it out and provide feedback.
Later,
Paul
--
Paul Webster
Hi floor. Make me a sammich! - GIR
_______________________________________________
e4-dev mailing list
e4-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/e4-dev
_______________________________________________
e4-dev mailing list
e4-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/e4-dev
_______________________________________________
e4-dev mailing list
e4-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/e4-dev
