42885: The other platforms define cut/copy/paste in their platform files (why?), so, sigh, do the same thing, for now. r=saari
git-svn-id: svn://10.0.0.236/trunk@74189 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -8,7 +8,29 @@
|
||||
<!-- change the xul key for Unix -->
|
||||
<keyset id="globalKeySet" xulkey="alt">
|
||||
|
||||
<!-- Add the Windows/Mac cut, copy, paste, undo and redo keys -->
|
||||
<!-- Unix (alt=xulkey) cut, copy, paste, undo and redo keys -->
|
||||
<key id="cutKey" key="x" xulkey="true" shift="false"
|
||||
onkeypress="
|
||||
var controller = document.commandDispatcher.getControllerForCommand('cmd_cut');
|
||||
controller.doCommand('cmd_cut');"/>
|
||||
<key id="copyKey" key="c" xulkey="true" shift="false"
|
||||
onkeypress="
|
||||
var controller = document.commandDispatcher.getControllerForCommand('cmd_copy');
|
||||
controller.doCommand('cmd_copy');"/>
|
||||
<key id="pasteKey" key="v" xulkey="true" shift="false"
|
||||
onkeypress="
|
||||
var controller = document.commandDispatcher.getControllerForCommand('cmd_paste');
|
||||
controller.doCommand('cmd_paste');"/>
|
||||
<key id="undoKey" key="z" xulkey="true" shift="false"
|
||||
onkeypress="
|
||||
var controller = document.commandDispatcher.getControllerForCommand('cmd_undo');
|
||||
controller.doCommand('cmd_undo');"/>
|
||||
<key id="redoKey" key="r" xulkey="true" shift="false"
|
||||
onkeypress="
|
||||
var controller = document.commandDispatcher.getControllerForCommand('cmd_redo');
|
||||
controller.doCommand('cmd_redo');"/>
|
||||
|
||||
<!-- Add the Windows/Mac (control) cut, copy, paste, undo and redo keys -->
|
||||
<key id="emCutKey" key="x" control="true" shift="false"
|
||||
onkeypress="
|
||||
var controller = document.commandDispatcher.getControllerForCommand('cmd_cut');
|
||||
|
||||
@@ -8,7 +8,29 @@
|
||||
<!-- change the xul key for Unix -->
|
||||
<keyset id="globalKeySet" xulkey="alt">
|
||||
|
||||
<!-- Add the Windows/Mac cut, copy, paste, undo and redo keys -->
|
||||
<!-- Unix (alt=xulkey) cut, copy, paste, undo and redo keys -->
|
||||
<key id="cutKey" key="x" xulkey="true" shift="false"
|
||||
onkeypress="
|
||||
var controller = document.commandDispatcher.getControllerForCommand('cmd_cut');
|
||||
controller.doCommand('cmd_cut');"/>
|
||||
<key id="copyKey" key="c" xulkey="true" shift="false"
|
||||
onkeypress="
|
||||
var controller = document.commandDispatcher.getControllerForCommand('cmd_copy');
|
||||
controller.doCommand('cmd_copy');"/>
|
||||
<key id="pasteKey" key="v" xulkey="true" shift="false"
|
||||
onkeypress="
|
||||
var controller = document.commandDispatcher.getControllerForCommand('cmd_paste');
|
||||
controller.doCommand('cmd_paste');"/>
|
||||
<key id="undoKey" key="z" xulkey="true" shift="false"
|
||||
onkeypress="
|
||||
var controller = document.commandDispatcher.getControllerForCommand('cmd_undo');
|
||||
controller.doCommand('cmd_undo');"/>
|
||||
<key id="redoKey" key="r" xulkey="true" shift="false"
|
||||
onkeypress="
|
||||
var controller = document.commandDispatcher.getControllerForCommand('cmd_redo');
|
||||
controller.doCommand('cmd_redo');"/>
|
||||
|
||||
<!-- Add the Windows/Mac (control) cut, copy, paste, undo and redo keys -->
|
||||
<key id="emCutKey" key="x" control="true" shift="false"
|
||||
onkeypress="
|
||||
var controller = document.commandDispatcher.getControllerForCommand('cmd_cut');
|
||||
|
||||
Reference in New Issue
Block a user