Another spin off from my mango project.
The is a codemirror based code editor widget that worls on Eclipse RAP and RCP. The codemirror resources are bundled seperately so they need to be deployed only on the server side.
The widget supports basic functions such as get/set text and fires a dirty event of the code gets edited.
Respect the codemirror license: http://codemirror.net/LICENSE
The rest of the sourcecode is (C) 2012 by Thomas Kratz, and licensed under the terms of the GPLv3 feel free to reuse and adopt.