Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Biagio Paruolo 1619 posts 1912 karma points c-trib
    Aug 27, 2013 @ 19:41
    Biagio Paruolo
    0

    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 ...

  • Biagio Paruolo 1619 posts 1912 karma points c-trib
    Aug 30, 2013 @ 08:07
    Biagio Paruolo
    100

    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

Please Sign in or register to post replies

Write your reply to:

Draft