code: function expandAll() {
          var editor = EditorManager.getFocusedEditor();
          if (editor) {
              var cm = editor._codeMirror;
              CodeMirror.commands.unfoldAll(cm);
          }
      }
docs: Expands all folded regions in the current document