undo=this.createDevToolsAwareMenuItem(nls.localize({key:'miUndo',comment:['&& denotes a mnemonic']},"&&Undo"),'undo',devTools=>devTools.undo());
...
...
@@ -503,14 +502,12 @@ export class VSCodeMenu {
cut=this.createRoleMenuItem(nls.localize({key:'miCut',comment:['&& denotes a mnemonic']},"&&Cut"),'editor.action.clipboardCutAction','cut');
copy=this.createRoleMenuItem(nls.localize({key:'miCopy',comment:['&& denotes a mnemonic']},"C&&opy"),'editor.action.clipboardCopyAction','copy');
paste=this.createRoleMenuItem(nls.localize({key:'miPaste',comment:['&& denotes a mnemonic']},"&&Paste"),'editor.action.clipboardPasteAction','paste');
selectAll=this.createDevToolsAwareMenuItem(nls.localize({key:'miSelectAll',comment:['&& denotes a mnemonic']},"&&Select All"),'editor.action.selectAll',(devTools)=>devTools.selectAll());
}else{
undo=this.createMenuItem(nls.localize({key:'miUndo',comment:['&& denotes a mnemonic']},"&&Undo"),'undo');
redo=this.createMenuItem(nls.localize({key:'miRedo',comment:['&& denotes a mnemonic']},"&&Redo"),'redo');
cut=this.createMenuItem(nls.localize({key:'miCut',comment:['&& denotes a mnemonic']},"&&Cut"),'editor.action.clipboardCutAction');
copy=this.createMenuItem(nls.localize({key:'miCopy',comment:['&& denotes a mnemonic']},"C&&opy"),'editor.action.clipboardCopyAction');
paste=this.createMenuItem(nls.localize({key:'miPaste',comment:['&& denotes a mnemonic']},"&&Paste"),'editor.action.clipboardPasteAction');
selectAll=this.createMenuItem(nls.localize({key:'miSelectAll',comment:['&& denotes a mnemonic']},"&&Select All"),'editor.action.selectAll');
}
constfind=this.createMenuItem(nls.localize({key:'miFind',comment:['&& denotes a mnemonic']},"&&Find"),'actions.find');
...
...
@@ -525,7 +522,6 @@ export class VSCodeMenu {
cut,
copy,
paste,
selectAll,
__separator__(),
find,
replace,
...
...
@@ -546,6 +542,12 @@ export class VSCodeMenu {
constmoveLinesUp=this.createMenuItem(nls.localize({key:'miMoveLinesUp',comment:['&& denotes a mnemonic']},"Mo&&ve Line Up"),'editor.action.moveLinesUpAction');
constmoveLinesDown=this.createMenuItem(nls.localize({key:'miMoveLinesDown',comment:['&& denotes a mnemonic']},"Move &&Line Down"),'editor.action.moveLinesDownAction');
letselectAll:Electron.MenuItem;
if(platform.isMacintosh){
selectAll=this.createDevToolsAwareMenuItem(nls.localize({key:'miSelectAll',comment:['&& denotes a mnemonic']},"&&Select All"),'editor.action.selectAll',(devTools)=>devTools.selectAll());
}else{
selectAll=this.createMenuItem(nls.localize({key:'miSelectAll',comment:['&& denotes a mnemonic']},"&&Select All"),'editor.action.selectAll');
}
constsmartSelectGrow=this.createMenuItem(nls.localize({key:'miSmartSelectGrow',comment:['&& denotes a mnemonic']},"&&Expand Selection"),'editor.action.smartSelect.grow');
constsmartSelectshrink=this.createMenuItem(nls.localize({key:'miSmartSelectShrink',comment:['&& denotes a mnemonic']},"&&Shrink Selection"),'editor.action.smartSelect.shrink');