21 Commits

Author SHA1 Message Date
rudolfkoenig
f4fdfb730b fhem_codemirror.js: Fix FireFox 58+ problems with lineNumbers (Forum #87740)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16926 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2018-07-01 09:15:20 +00:00
rudolfkoenig
085be4cd9d fhem_codemirror.js/fhemweb.js: enable codemirror in rawdefinition (Forum #81595)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@15695 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-12-26 13:47:50 +00:00
rapster
b72d93a64f codemirror: Fix keyMap bug. Forum #54253
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11619 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-06-05 14:41:13 +00:00
rapster
3c99dfc24d www/codemirror/fhem_codemirror.js: New codemirrorParam 'keyMap', Added vim.js for VIM-KeyMap. Forum #54112
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11602 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-06-03 10:36:08 +00:00
rapster
4cba5f0753 codemirror: New codemirrorParam 'jumpToLine_extraKey'. Forum #54112
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11596 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-06-02 16:37:20 +00:00
rapster
f82a206a1b codemirror: Added new module jump-to-line. Can be activated with new codemirrorParam 'jumpToLine:true'. Forum #54112
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11593 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-06-01 21:45:13 +00:00
rapster
003917b894 www/codemirror/fhem_codemirror.js: New codemirrorParam 'height' for auto or custom height of editor window in DEF an Attr
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11286 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-04-19 14:02:21 +00:00
rapster
2289566d1d www/codemirror/fhem_codemirror.js: Removed initialisation of CM-Editor, this is now done by fhemweb.js. Forum #52379
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11281 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2016-04-18 19:04:58 +00:00
rapster
efd7e1b8a7 www/codemirror/fhem_codemirror.js: Disabled autocompleteAlways by default due to errors in multiline attributes
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@9777 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-11-04 14:44:38 +00:00
rapster
56ee3c584f www/codemirror/*: Added DOIF autocomplete-keywords, added feature to autocomplete on any keypress (on by default).
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@9776 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-11-04 13:36:53 +00:00
rapster
891de46c53 www/codemirror/fhem_codemirror.js: Disabled smartIndent by default (FORUM #20444)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@9728 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-10-30 13:24:30 +00:00
rapster
2afbee1a4d www/codemirror/fhem_codemirror.js: Enabled indentWithTabs by default (FORUM #20444)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@9726 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-10-30 12:56:54 +00:00
rapster
8d4f0cffe5 www/codemirror/fhem_codemirror.js: Enabled autoCloseBrackets by default (FORUM #20444)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@9725 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-10-30 12:41:36 +00:00
rapster
ebe709d6fb www/codemirror/fhem_codemirror.js: Do not evaluate attr codemirrorParam if already loaded.
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@9706 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-10-28 12:16:29 +00:00
rapster
30d66191db www/codemirror/fhem_codemirror.js: additional modules loads now dynamically based on codemirrorParam, fixed bug in cm_wait() setTimeout, some further improvements.
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@9700 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-10-27 23:38:08 +00:00
rapster
62cc137f02 www/codemirror/*:
- feature: codemirror modules now loaded by default: search.js, comment.js
                 dialog.js, autorefresh.js, searchcursor.js, dialog.css
             codemirror search & replace is now activated by default.
                 to use this feature now you must only load in fhemweb
                 attribute 'JavaScripts' the codemirror/fhem_codemirror.js file
             new extraKeys for 'TAB', 'Shift+Tab', 'STRG+Q', 'STRG+UP',
                 and 'STRG+DOWN' are added.
             codemirror default parameters are now:
                 indentUnit:4, indentWithTabs:false, autoCloseBrackets:false,
                 matchBrackets:true, autofocus:true, theme:"blackboard",
                 lineNumbers:true, autoRefresh:true
               this can be overwritten with fhemweb attribute 'codemirrorParam'
  - updated: codemirror version to 5.8 
             the default codemirror javascript files are now minified


git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@9668 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-10-25 16:53:17 +00:00
rudolfkoenig
6e1bed0106 codemirror.js: fix textfield-long patch (Forum #33226)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@7882 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-02-05 10:37:34 +00:00
rudolfkoenig
84c079a605 fhem_codemirror.js: remove the jquery loading (Forum #33226)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@7853 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2015-02-03 19:14:44 +00:00
rudolfkoenig
5fd3bb63c1 FHEMWEB/codemirror: DEF Patches inspired by MarcelK (Forum #20444)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@5703 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-04-30 10:15:37 +00:00
rudolfkoenig
3bda5d93ba fhem_codemirror.js: fix window size (by MarcelK, forum #20444)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@5603 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-04-22 19:16:55 +00:00
rudolfkoenig
66642806c0 FHEMWEB: CodeMirror via JavaScripts
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@5475 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-04-07 16:07:58 +00:00