Modified all keybindings for up, down, left, right, home, end, pgUp, and pgDown
so that they are not triggered if the Alt key is down.
mozilla/xpfe/global/resources/content/editorBindings.xul
mozilla/xpfe/global/resources/content/browserBindings.xul
mozilla/xpfe/global/resources/content/inputBindings.xul
mozilla/xpfe/global/resources/content/textAreaBindings.xul
mozilla/xpfe/global/resources/content/win/platformInputBindings.xul
mozilla/xpfe/global/resources/skin/htmlBindings.xml
mozilla/xpfe/global/resources/skin/win/platformHTMLBindings.xml
r=brade@netscape.com,akkana@netscape.com
git-svn-id: svn://10.0.0.236/trunk@60322 18797224-902f-48f8-a5cc-f745e15eee43
40 lines
1.4 KiB
XML
40 lines
1.4 KiB
XML
<?xml version="1.0"?>
|
|
<!-- windows version of platformInputBindings.xul -->
|
|
|
|
<keybinding id="platformInputBindings"
|
|
xmlns:html="http://www.w3.org/TR/REC-html40"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
|
|
<!-- xul key for Windows -->
|
|
<keyset id="editorKeySet" xulkey="ctrl">
|
|
|
|
<!-- No windows-specific input bindings known at this time -->
|
|
<!-- and make up and down arrows do those functions -->
|
|
<key id="key_up" keycode="VK_UP" shift="false" control="false" alt="false"
|
|
onkeypress="
|
|
var controller =
|
|
document.commandDispatcher.getControllerForCommand('cmd_charPrevious');
|
|
controller.doCommand('cmd_charPrevious');"/>
|
|
<key id="key_down" keycode="VK_DOWN" shift="false" control="false" alt="false"
|
|
onkeypress="
|
|
var controller =
|
|
document.commandDispatcher.getControllerForCommand('cmd_charNext');
|
|
controller.doCommand('cmd_charNext');"/>
|
|
<key id="key_up" keycode="VK_UP" shift="true"
|
|
onkeypress="
|
|
var controller =
|
|
document.commandDispatcher.getControllerForCommand('cmd_selectCharPrevious');
|
|
controller.doCommand('cmd_selectCharPrevious');"/>
|
|
<key id="key_down" keycode="VK_DOWN" shift="true"
|
|
onkeypress="
|
|
var controller =
|
|
document.commandDispatcher.getControllerForCommand('cmd_selectCharNext');
|
|
controller.doCommand('cmd_selectCharNext');"/>
|
|
|
|
</keyset>
|
|
|
|
<!-- End Unix-specific keybindings -->
|
|
|
|
</keybinding>
|
|
|