Codemirror Add-on
CodeMirror Addon for Vaadin 7
This Addon is using the JavascriptAbstractComponent. So no widgetset compilation is needed. Current Version of Codemirror included is 4.8. The following Codemirror Addons are included:
- Search/Replace
- Fullscreen
- TernJS - has to be activated via API
Sample code
final CodeMirror codeMirror = new CodeMirror(); codeMirror.setHeight(500, Unit.PIXELS); codeMirror.setWidth(600, Unit.PIXELS); codeMirror.setCode("function findSequence(goal) {\nalert('hello world')\n}"); codeMirror.setLanguage(CodeMirrorLanguage.DEFAULT); codeMirror.setTheme(CodeMirrorTheme.DEFAULT);
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
fixed POM file. Removed parent dependency.
- Released
- 2016-03-29
- Maturity
- BETA
- License
- Apache License 2.0
Compatibility
- Framework
- Vaadin 7.3+
- Vaadin 7.6+ in 1.2.1
- Vaadin 7.1+ in 1.1.1
- Vaadin 7.0+ in 0.9.1
- Browser
- Firefox
- Google Chrome
- Internet Explorer
- Internet Explorer
Codemirror Add-on - Vaadin Add-on Directory
CodeMirror Addon for Vaadin 7This Addon is using the JavascriptAbstractComponent. So no widgetset compilation is needed. Current Version of Codemirror included is 4.8.
The following Codemirror Addons are included:
* Search/Replace
* Fullscreen
* TernJS - has to be activated via API