function unindentText() {
        var editor = EditorManager.getFocusedEditor();
        if (!editor) {
            return;
        }

        editor._codeMirror.execCommand("indentLess");
    }
Unindent a line of text if no selection. Otherwise, unindent all lines in selection.