diff --git a/lib/ace/commands/default_commands.js b/lib/ace/commands/default_commands.js index fe58bb53..909aa843 100644 --- a/lib/ace/commands/default_commands.js +++ b/lib/ace/commands/default_commands.js @@ -45,6 +45,16 @@ exports.commands = [{ name: "showSettingsMenu", bindKey: bindKey("Ctrl-,", "Command-,"), exec: function (editor) { + config.loadModule("ace/ext/show_keyboard_shortcuts", function (e) { + e(editor); + }); + }, + readOnly: true +}, { + name: "selectall", + bindKey: bindKey("Ctrl-A", "Command-A"), + exec: function(editor) { editor.selectAll(); }, + readOnly: true }, { name: "centerselection", bindKey: bindKey(null, "Ctrl-L"),