From 9e9cdb3c480fa675dadf46ed74ff7ee1cab0cbee Mon Sep 17 00:00:00 2001 From: Matthew Kastor Date: Thu, 4 Apr 2013 17:04:18 -0400 Subject: [PATCH] removes commands from default commands --- lib/ace/commands/default_commands.js | 10 ++++++++++ 1 file changed, 10 insertions(+) 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"),