SHIFT-Tab : auto-format current selection (as I mentioned 2 days ago) CTRL-[ : un-indent selection (this is what SHIFT-Tab used to do in the previous version of codemirror, so am glad to know is still possible! And can disregard my comment about wondering where this feature went...) CTRL-] : indent selection (also you can just hit Tab to do this too) CTRL-D : delete current line
Other standard keyboard shortcuts work too according to the convention of your operating system (CodeMirror redefines these separately for Macs vs. PCs), for example skipping words, deleting words left or right, jumping to start or end of line, top or bottom of doc, etc. To see how these are setup you can take a look at umbraco_client\CodeMirror\js\lib\codemirror.js starting around line 2201
Codemirror: Which are the shortcut into Umbraco Editor?
Codemirror: Which are the shortcut into Umbraco Editor?
Take a look at http://ace.c9.io/#nav=about ...
SHIFT-Tab : auto-format current selection (as I mentioned 2 days ago)
CTRL-[ : un-indent selection (this is what SHIFT-Tab used to do in the previous version of codemirror, so am glad to know is still possible! And can disregard my comment about wondering where this feature went...)
CTRL-] : indent selection (also you can just hit Tab to do this too)
CTRL-D : delete current line
Other standard keyboard shortcuts work too according to the convention of your operating system (CodeMirror redefines these separately for Macs vs. PCs), for example skipping words, deleting words left or right, jumping to start or end of line, top or bottom of doc, etc. To see how these are setup you can take a look at umbraco_client\CodeMirror\js\lib\codemirror.js starting around line 2201
is working on a reply...