зеркало из https://github.com/mozilla/pjs.git
handle control-delete and shift-delete (bug #41078)
This commit is contained in:
Родитель
0b814e2bdc
Коммит
5cad416d60
|
@ -9,10 +9,14 @@
|
|||
<keyset id="globalKeySet" xulkey="ctrl">
|
||||
|
||||
<!-- other keybindings for cut/copy/paste -->
|
||||
<key id="winAlternativeCutKey" keycode="VK_DELETE" shift="true"
|
||||
<key id="winAlternativeCutKey" keycode="VK_DELETE" shift="true" control="false" alt="false"
|
||||
onkeypress="
|
||||
var controller = document.commandDispatcher.getControllerForCommand('cmd_cut');
|
||||
controller.doCommand('cmd_cut');"/>
|
||||
<key id="winAlternateCopy2Key" keycode="VK_DELETE" shift="false" control="true" alt="false"
|
||||
onkeypress="
|
||||
var controller = document.commandDispatcher.getControllerForCommand('cmd_copy');
|
||||
controller.doCommand('cmd_copy');"/>
|
||||
<key id="winAlternativeCopyKey" keycode="VK_INSERT" control="true"
|
||||
onkeypress="
|
||||
var controller = document.commandDispatcher.getControllerForCommand('cmd_copy');
|
||||
|
|
Загрузка…
Ссылка в новой задаче