Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsCodeMirror Eclipse (SWT, RCP and RAP)
https://www.eclipse.org/forums/index.php/mv/msg/486111/1053433/#msg_1053433
For your information I have created CodeMirror Eclipse which embeds JS CodeMirror editor in a SWT Browser (to support single sourcing). It works with SWT/RWT (it provides SWT control which do that) and RAP/RCP (it provides Eclipse 3.x EditorPart which do that).
Regards Angelo]]>Angelo ZERR2013-05-05T15:43:24-00:00Re: CodeMirror Eclipse (SWT, RCP and RAP)
https://www.eclipse.org/forums/index.php/mv/msg/486111/1053528/#msg_1053528
Thank you for your contribution, I added it to the RAP wiki. How is it
related to the existing[1] CodeMirror widget for RAP? Is there a big
difference?
Am 05.05.2013 17:43, schrieb Angelo ZERR:
> Hi RAP Team/User,
>
> For your information I have created
> https://github.com/angelozerr/CodeMirror-Eclipse which embeds JS
> CodeMirror editor in a SWT Browser (to support single sourcing). It
> works with SWT/RWT (it provides SWT control which do that) and RAP/RCP
> (it provides Eclipse 3.x EditorPart which do that).
> You can play with the http://cmeclipse.opensagres.cloudbees.net/codemirror
> Hope you will like it.
>
> Regards Angelo
Professional services for RAP and RCP? http://eclipsesource.com/services/rap/]]>Tim Buschtoens2013-05-06T12:09:19-00:00Re: CodeMirror Eclipse (SWT, RCP and RAP)
https://www.eclipse.org/forums/index.php/mv/msg/486111/1053535/#msg_1053535
Many thank's to have add it to the RAP wiki.
To develop my CodeMirror Eclipse I have studied the existing https://github.com/eiswind/codemirror-eclipse-rcp
At first I told me that I will fork it, but I have restarted from scratch to improve it. Here the differences :
use last version of CodeMirror
https://github.com/eiswind/codemirror-eclipse-rcp provides just a SWT Control which embeds CodeMirror. My CodeMirror Eclipse provides too Eclipse 3.x EditorPart which uses the SWT Control (dirty EditorPart is bound with the CodeMirror dirty state).
provides the capability to use CodeMirror Eclipse with a simple Java main or RCP Application. With https://github.com/eiswind/codemirror-eclipse-rcp its' very difficult because it uses "org.eclipse.equinox.http.registry.resources" to manage resources. In my version you can configure the SWT Control with simple file.
provides a resources API which works with any context (SWT/RWT, RCP, RAP) to declare the HTML codemirror to use it. Switch the context, the link used is file// (for SWT, RCP) and http:// (for RAP). The resources API manage that, so with the same code you manage your codemirror editor with RCP and RAP both.
hosts too my work with CodeMirror-XQuery (https://github.com/angelozerr/CodeMirror-XQuery) I have developped CodeMirror addon to manage completion like Eclipse (show context info, templates system etc)
Regards Angelo]]>Angelo ZERR2013-05-06T12:33:03-00:00Re: CodeMirror Eclipse (SWT, RCP and RAP)
https://www.eclipse.org/forums/index.php/mv/msg/486111/1053678/#msg_1053678
Very nice contribution.
How your source code is licensed ? it is not mentioned in the project.
Best regards,
Arnaud]]>Arnaud MERGEY2013-05-07T08:35:32-00:00Re: CodeMirror Eclipse (SWT, RCP and RAP)
https://www.eclipse.org/forums/index.php/mv/msg/486111/1053687/#msg_1053687
I have modified https://github.com/angelozerr/CodeMirror-Eclipse to add the license (EPL). My code is not clean and I must add comments + header license.