lcolombo Posted September 12, 2017 Share Posted September 12, 2017 UniSyntaxEditEx is based on CodeMirror 5.25, but How can I add an addon? For example /addon/hint/show-hint for "autocomplete" (https://codemirror.net/demo/html5complete.html). Regards, Quote Link to comment Share on other sites More sharing options...
lcolombo Posted September 20, 2017 Author Share Posted September 20, 2017 Any ideas ? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 20, 2017 Share Posted September 20, 2017 Hi, We need to analyze it Best regards, Quote Link to comment Share on other sites More sharing options...
itognet Posted September 20, 2017 Share Posted September 20, 2017 I havnt tried this, so it is straight from my memory you could copy an addon folder in uni\codemirror-x.x\contrib to a new folder. then modify Ext.ux.CodeMirror.js in folder uni\codemirror-x.x\js to support your new folder, look for cases section. change UniSyntaxEditEx (if possible) to what you wrote in the case if you cannot change UniSyntaxEditEx to your own addon, then you can edit an existing addon and make your changes. Remember to clear browser cache when testing this. good luck. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.