handle control-delete and shift-delete (bug #41078)

This commit is contained in:
brade%netscape.com 2006-07-29 05:35:09 +00:00
Родитель 0b814e2bdc
Коммит 5cad416d60
1 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -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');