feature(edit) menu: add Cut, Copy and Paste

This commit is contained in:
coderaiser 2016-01-14 14:11:35 -05:00
parent d4e86aea73
commit 09440ce56d

View file

@ -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();
},