integrate code editor for script
Description
Environment
None
Attachments
3
Activity
Show:
Murilo Habermann Torquato February 1, 2018 at 12:45 PM
hi
please see attached a patch for core
to improove the error message on scripting and creates a new tab on rule window to easy the use of table validators.
Also attached thers is a patch
that adds the following features to codemirror editor (plugin):
-Adds some addons of codemirror editor like:
AutoCloseBrackets, AutoComplete, AutoComplete Hints, Search and SearchCursor
-Fixes some bugs of the editor:
bad formatting when you open the record for the first time
does not persist the formatting of break lines when save record
credits for that did the job!

Hiep Lq August 13, 2017 at 7:54 PM
it consider like a anpha release here: https://bitbucket.org/idplugin/th.motive.idempiere.editor.textinput
while wait you test it, i will do integrate ace editor
Details
Details
Assignee
Unassigned
UnassignedReporter

Priority
Created August 7, 2017 at 6:06 PM
Updated February 1, 2018 at 12:45 PM
other great feature come from and can be booster by and
codemirror.net and ace.c9.io is great to compose source for script language on idempiere like groovy, beanshell.
it ever better when co-work with ckEditor to refine html source.
so i do WEditor plugin to use it on idempiere. it can total resident on plugin, but some core improve will help it more easy to get done.
some target for this plugin:
+ codemirror.net and ace.c9.io support wide language, so need separate language to more zk widget to avoid heavy load un-need script
+ design plugin can easy change, add more editor library
+ zk-codemirror is good to start, but need to recreate by my shelf, they only add some common language (don't have )
+ wrap ace.c9.io to zk component
+ one WEditor but can change javascript editor lib (now ace.c9.io and codemirror) by AD
code commit:
https://bitbucket.org/idplugin/th.motive.idempiere.editor.code
https://github.com/hieplq/zk-codemirror