diff --git a/lib/client/edit.js b/lib/client/edit.js index 1afece65..e38cb3de 100644 --- a/lib/client/edit.js +++ b/lib/client/edit.js @@ -382,7 +382,14 @@ var CloudCmd, Util, DOM, CloudFunc, ace, DiffProto, diff_match_patch, Zip, MenuI Menu = new MenuIO(element, options, { 'Save Ctrl+S' : save, 'Go To Line Ctrl+G' : Edit.goToLine, - 'Select All Ctrl+A' : Ace.selectAll.bind(Ace), + 'Select All Ctrl+A' : function() { + Ace.selectAll(); + Ace.focus(); + }, + 'Delete Del' : function() { + Ace.remove('right'); + Ace.focus(); + }, 'Close Esc' : Edit.hide }); });