Community
Participate
Working Groups
It needs to be possible to use CodeMirror modes to provide styling for the editor in a scenario where you don't want the whole Orion platform. For example, if you wanted to embed a Perl editor on a web page, you'd include the Orion editor, plus some shim that lets it consume codemirror modes, plus perl.js from CodeMirror. This bug is for writing the shim.
I'm going to mark this bug Fixed since CodeMirrorStyler [1] is working well enough to reuse CodeMirror modes for styling a stand-alone Orion TextView. There is still an outstanding issue of hooking up the CodeMirror error style ("cm-error") to the annotation model. I've opened bug 369289 for that. [1] See commit http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=06cc23207389c695be1b4a01ee3125461f5914b6, jsdoc http://orion.eclipse.org/jsdoc/symbols/orion.mirror.CodeMirrorStyler.html