mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
feature(edit) menu: add Cut, Copy and Paste
This commit is contained in:
parent
d4e86aea73
commit
09440ce56d
1 changed files with 11 additions and 2 deletions
|
|
@ -177,12 +177,21 @@ var CloudCmd, Util, DOM, CloudFunc, MenuIO, Format;
|
|||
'Go To Line Ctrl+L' : function() {
|
||||
editor.goToLine();
|
||||
},
|
||||
'Select All Ctrl+A' : function() {
|
||||
editor.selectAll();
|
||||
'Cut Ctrl+X' : function() {
|
||||
editor.cutToClipboard();
|
||||
},
|
||||
'Copy Ctrl+C' : function() {
|
||||
editor.copyToClipboard();
|
||||
},
|
||||
'Paste Ctrl+X' : function() {
|
||||
editor.pasteFromClipboard();
|
||||
},
|
||||
'Delete Del' : function() {
|
||||
editor.remove('right');
|
||||
},
|
||||
'Select All Ctrl+A' : function() {
|
||||
editor.selectAll();
|
||||
},
|
||||
'Beautify Ctrl+B' : function() {
|
||||
editor.beautify();
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue