Community
Participate
Working Groups
We need to ensure it's easy to support editor "themes" so that someone who wants to run a "light on dark" editor can do so. Boris mentioned that we should look at digesting existing themes from other editors and producing the correct CSS for styling the code. This also suggests a structured styling story - well defined CSS classes so that such things are possible. I think there is an emerging syntax highlighting spec that might cover some of this.
I find the little demo in this page http://shjs.sourceforge.net/ pretty cool. It would be great if we could re-use an existent Syntax Highlighter for JavaScript and just write a backend for our editor (and get Syntax Highlight for 100+ languages for free). I have looked at some options out there but: - the license were incompatible with EPL - no support for per-line styling or incremental changes (they were design for static text).
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=363970#c9 We also added a minimal demonstration of this new support to textview demo.html Susan, would you like to keep this problem open till support it added to at the editor level ?
(In reply to comment #2) > See https://bugs.eclipse.org/bugs/show_bug.cgi?id=363970#c9 > We also added a minimal demonstration of this new support to textview demo.html > > Susan, would you like to keep this problem open till support it added to at the > editor level ? I think so. We need to explain the story for an Orion user to be able to feed their own color theme to the editor. The "light on dark" is a good example.
(In reply to comment #3) > (In reply to comment #2) > I think so. We need to explain the story for an Orion user to be able to feed > their own color theme to the editor. The "light on dark" is a good example. See http://orion.eclipse.org/examples/textview/demo.html At the bottom there is a Theme option that you can change to dark. Note that the colors in there are horrible, the intend in the demo is just to test the feature. The way I imagine the support in TextView gets extended to the Editor, then to EditorCommands (or something) so new themes can be imported to Orion as plugins. There could be a preference page to allow the user to select among the available themes (preloaded+imported) and customize them.
Should we close this now that we have the Editor Themes in the Settings page?
Think this is covered, now.