====== Edit tab w/CodeMirror Keyboard Mapping ====== AstLinux now supports the versatile [[https://codemirror.net/|CodeMirror]] text editor, implemented in JavaScript for the browser. CodeMirror is now the default text editor within the AstLinux web interface **Edit tab**, but users may still use the standard HTML editor if they choose. !!Note: AstLinux 1.3.7 or later is required!! New options can be found under the **Prefs tab** -> Edit tab Options: {{:userdoc:up10-prefs-tab.png?nolink|Prefs}} {{:userdoc:codemirror-prefs-tab.png?nolink|Prefs Tab}} Unchecking "CodeMirror Editor" will revert back to using the standard HTML editor. The user may select a "Theme", the [default] is colored text on a white background. !!Tip ->!! Themes [solarized], [seti-mks] and [zenburn] are worth a look. \\ **AstLinux Specific Keyboard Mapping** __Toggle Fullscreen__ -> ''Tab'' Fullscreen mode will make the text editing area use the full current window. ''Tab'' will toggle between the two states, very handy.\\ To insert a ''Tab'' (for spacing) within the editor window, you need to type ''Ctrl-Alt-Tab'' (on a Mac). __Exit Fullscreen__ -> ''Esc'' The natural key choice to return to normal mode. Only applies when in fullscreen mode. __Toggle Comment__ -> ''Ctrl-/'' or ''Ctrl-.'' (PC), ''Cmd-/'' or ''Cmd-.'' (Mac) Comment or un-comment the selected line(s) depending on the current comment state. \\ **Standard CodeMirror Keyboard Mapping** {{:userdoc:codemirror-0010.png?nolink&838|Search Keys}} {{:userdoc:codemirror-0020.png?nolink&838|Edit Keys}} {{:userdoc:codemirror-0021.png?nolink&838|Edit Keys}} {{:userdoc:codemirror-0030.png?nolink&838|Select Keys}} {{:userdoc:codemirror-0040.png?nolink&838|Move Cursor Keys}} {{:userdoc:codemirror-0050.png?nolink&838|Move Cursor Keys}} {{:userdoc:codemirror-0060.png?nolink&838|Advanced Edit Keys}}