mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
feature(edit) menu: add "Delete"
This commit is contained in:
parent
cff5ff1019
commit
3b6d977e5a
1 changed files with 8 additions and 1 deletions
|
|
@ -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
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue