diff --git a/htdocs/js/PGCodeMirror/pgeditor.js b/htdocs/js/PGCodeMirror/pgeditor.js index 286cf45247..eee29e1233 100644 --- a/htdocs/js/PGCodeMirror/pgeditor.js +++ b/htdocs/js/PGCodeMirror/pgeditor.js @@ -78,12 +78,10 @@ lineWrapping: true, extraKeys: { Tab: (cm) => cm.execCommand('insertSoftTab'), - 'Shift-Ctrl-F': (cm) => cm.foldCode(cm.getCursor(), { scanUp: true }), - 'Shift-Cmd-F': (cm) => cm.foldCode(cm.getCursor(), { scanUp: true }), - 'Shift-Ctrl-A': (cm) => CodeMirror.commands.foldAll(cm), - 'Shift-Cmd-A': (cm) => CodeMirror.commands.foldAll(cm), - 'Shift-Ctrl-G': (cm) => CodeMirror.commands.unfoldAll(cm), - 'Shift-Cmd-G': (cm) => CodeMirror.commands.unfoldAll(cm) + 'Shift-Ctrl-[': (cm) => cm.foldCode(cm.getCursor(), { scanUp: true }), + 'Cmd-Alt-[': (cm) => cm.foldCode(cm.getCursor(), { scanUp: true }), + 'Ctrl-Alt-[': (cm) => CodeMirror.commands.foldAll(cm), + 'Ctrl-Alt-]': (cm) => CodeMirror.commands.unfoldAll(cm) }, highlightSelectionMatches: { annotateScrollbar: true }, matchBrackets: true, diff --git a/templates/HelpFiles/InstructorPGProblemEditor.html.ep b/templates/HelpFiles/InstructorPGProblemEditor.html.ep index 9df43f200c..1c15697f02 100644 --- a/templates/HelpFiles/InstructorPGProblemEditor.html.ep +++ b/templates/HelpFiles/InstructorPGProblemEditor.html.ep @@ -76,8 +76,8 @@