Fix for PDT+ bug #22206: ALT + NUM Pad operation moves the cursor point unnecessarily

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
This commit is contained in:
kin%netscape.com 2000-02-10 14:08:13 +00:00
parent 4718f286f3
commit e0a8553641
7 changed files with 90 additions and 90 deletions

View File

@ -6,12 +6,12 @@
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<keyset id="browserKeySet">
<key id="key_page_up" keycode="VK_PAGE_UP" shift="false" control="false"
<key id="key_page_up" keycode="VK_PAGE_UP" shift="false" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_scrollPageUp');
controller.doCommand('cmd_scrollPageUp');"/>
<key id="key_page_down" keycode="VK_PAGE_DOWN" shift="false" control="false"
<key id="key_page_down" keycode="VK_PAGE_DOWN" shift="false" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_scrollPageDown');
@ -29,12 +29,12 @@
controller.doCommand('cmd_scrollPageDown');
"/>
<key id="key_page_up" keycode="VK_UP" shift="false" control="false"
<key id="key_page_up" keycode="VK_UP" shift="false" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_scrollLineUp');
controller.doCommand('cmd_scrollLineUp');"/>
<key id="key_page_down" keycode="VK_DOWN" shift="false" control="false"
<key id="key_page_down" keycode="VK_DOWN" shift="false" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_scrollLineDown');

View File

@ -5,92 +5,92 @@
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<keyset id="editorKeySet">
<key id="key_home" keycode="VK_HOME" shift="false" control="false"
<key id="key_home" keycode="VK_HOME" shift="false" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_beginLine');
controller.doCommand('cmd_beginLine');"/>
<key id="key_end" keycode="VK_END" shift="false" control="false"
<key id="key_end" keycode="VK_END" shift="false" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_endLine');
controller.doCommand('cmd_endLine');"/>
<key id="key_left" keycode="VK_LEFT" shift="false" control="false"
<key id="key_left" keycode="VK_LEFT" shift="false" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_charPrevious');
controller.doCommand('cmd_charPrevious');"/>
<key id="key_right" keycode="VK_RIGHT" shift="false" control="false"
<key id="key_right" keycode="VK_RIGHT" shift="false" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_charNext');
controller.doCommand('cmd_charNext');"/>
<key id="key_homeshift" keycode="VK_HOME" shift="true" control="false"
<key id="key_homeshift" keycode="VK_HOME" shift="true" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_selectBeginLine');
controller.doCommand('cmd_selectBeginLine');"/>
<key id="key_endshift" keycode="VK_END" shift="true" control="false"
<key id="key_endshift" keycode="VK_END" shift="true" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_selectEndLine');
controller.doCommand('cmd_selectEndLine');"/>
<key id="key_leftshift" keycode="VK_LEFT" shift="true" control="false"
<key id="key_leftshift" keycode="VK_LEFT" shift="true" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_selectCharPrevious');
controller.doCommand('cmd_selectCharPrevious');"/>
<key id="key_rightshift" keycode="VK_RIGHT" shift="true" control="false"
<key id="key_rightshift" keycode="VK_RIGHT" shift="true" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_selectCharNext');
controller.doCommand('cmd_selectCharNext');"/>
<key id="key_leftcontrol" keycode="VK_LEFT" shift="false" control="true"
<key id="key_leftcontrol" keycode="VK_LEFT" shift="false" control="true" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_wordPrevious');
controller.doCommand('cmd_wordPrevious');"/>
<key id="key_rightcontrol" keycode="VK_RIGHT" shift="false" control="true"
<key id="key_rightcontrol" keycode="VK_RIGHT" shift="false" control="true" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_wordNext');
controller.doCommand('cmd_wordNext');"/>
<key id="key_leftshiftcontrol" keycode="VK_LEFT" shift="true" control="true"
<key id="key_leftshiftcontrol" keycode="VK_LEFT" shift="true" control="true" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_selectWordPrevious');
controller.doCommand('cmd_selectWordPrevious');"/>
<key id="key_rightshiftcontrol" keycode="VK_RIGHT" shift="true" control="true"
<key id="key_rightshiftcontrol" keycode="VK_RIGHT" shift="true" control="true" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_selectWordNext');
controller.doCommand('cmd_selectWordNext');"/>
<key id="key_pageup" keycode="VK_PAGE_UP" shift="false" control="false"
<key id="key_pageup" keycode="VK_PAGE_UP" shift="false" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_scrollPageUp');
controller.doCommand('cmd_scrollPageUp');"/>
<key id="key_pagedown" keycode="VK_PAGE_DOWN" shift="false" control="false"
<key id="key_pagedown" keycode="VK_PAGE_DOWN" shift="false" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_scrollPageDown');
controller.doCommand('cmd_scrollPageDown');"/>
<key id="key_left" keycode="VK_UP" shift="false"
<key id="key_left" keycode="VK_UP" shift="false" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_linePrevious');
controller.doCommand('cmd_linePrevious');"/>
<key id="key_right" keycode="VK_DOWN" shift="false"
<key id="key_right" keycode="VK_DOWN" shift="false" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_lineNext');
controller.doCommand('cmd_lineNext');"/>
<key id="key_left_shift" keycode="VK_UP" shift="true"
<key id="key_left_shift" keycode="VK_UP" shift="true" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_selectLinePrevious');
controller.doCommand('cmd_selectLinePrevious');"/>
<key id="key_right_shift" keycode="VK_DOWN" shift="true"
<key id="key_right_shift" keycode="VK_DOWN" shift="true" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_selectLineNext');

View File

@ -6,72 +6,72 @@
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<keyset id="editorKeySet">
<key id="key_home" keycode="VK_HOME" shift="false" control="false"
<key id="key_home" keycode="VK_HOME" shift="false" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_beginLine');
controller.doCommand('cmd_beginLine');"/>
<key id="key_end" keycode="VK_END" shift="false" control="false"
<key id="key_end" keycode="VK_END" shift="false" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_endLine');
controller.doCommand('cmd_endLine');"/>
<key id="key_left" keycode="VK_LEFT" shift="false" control="false"
<key id="key_left" keycode="VK_LEFT" shift="false" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_charPrevious');
controller.doCommand('cmd_charPrevious');"/>
<key id="key_right" keycode="VK_RIGHT" shift="false" control="false"
<key id="key_right" keycode="VK_RIGHT" shift="false" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_charNext');
controller.doCommand('cmd_charNext');"/>
<key id="key_homeshift" keycode="VK_HOME" shift="true" control="false"
<key id="key_homeshift" keycode="VK_HOME" shift="true" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_selectBeginLine');
controller.doCommand('cmd_selectBeginLine');"/>
<key id="key_endshift" keycode="VK_END" shift="true" control="false"
<key id="key_endshift" keycode="VK_END" shift="true" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_selectEndLine');
controller.doCommand('cmd_selectEndLine');"/>
<key id="key_leftshift" keycode="VK_LEFT" shift="true" control="false"
<key id="key_leftshift" keycode="VK_LEFT" shift="true" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_selectCharPrevious');
controller.doCommand('cmd_selectCharPrevious');"/>
<key id="key_rightshift" keycode="VK_RIGHT" shift="true" control="false"
<key id="key_rightshift" keycode="VK_RIGHT" shift="true" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_selectCharNext');
controller.doCommand('cmd_selectCharNext');"/>
<key id="key_leftcontrol" keycode="VK_LEFT" shift="false" control="true"
<key id="key_leftcontrol" keycode="VK_LEFT" shift="false" control="true" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_wordPrevious');
controller.doCommand('cmd_wordPrevious');"/>
<key id="key_rightcontrol" keycode="VK_RIGHT" shift="false" control="true"
<key id="key_rightcontrol" keycode="VK_RIGHT" shift="false" control="true" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_wordNext');
controller.doCommand('cmd_wordNext');"/>
<key id="key_leftshiftcontrol" keycode="VK_LEFT" shift="true" control="true"
<key id="key_leftshiftcontrol" keycode="VK_LEFT" shift="true" control="true" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_selectWordPrevious');
controller.doCommand('cmd_wordPrevious');"/>
<key id="key_rightshiftcontrol" keycode="VK_RIGHT" shift="true" control="true"
<key id="key_rightshiftcontrol" keycode="VK_RIGHT" shift="true" control="true" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_selectWordNext');
controller.doCommand('cmd_wordNext');"/>
<key id="key_pageup" keycode="VK_PAGE_UP" shift="false" control="false"
<key id="key_pageup" keycode="VK_PAGE_UP" shift="false" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_scrollPageUp');
controller.doCommand('cmd_scrollPageUp');"/>
<key id="key_pagedown" keycode="VK_PAGE_DOWN" shift="false" control="false"
<key id="key_pagedown" keycode="VK_PAGE_DOWN" shift="false" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_scrollPageDown');

View File

@ -6,92 +6,92 @@
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<keyset id="editorKeySet">
<key id="key_home" keycode="VK_HOME" shift="false" control="false"
<key id="key_home" keycode="VK_HOME" shift="false" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_beginLine');
controller.doCommand('cmd_beginLine');"/>
<key id="key_end" keycode="VK_END" shift="false" control="false"
<key id="key_end" keycode="VK_END" shift="false" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_endLine');
controller.doCommand('cmd_endLine');"/>
<key id="key_left" keycode="VK_LEFT" shift="false" control="false"
<key id="key_left" keycode="VK_LEFT" shift="false" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_charPrevious');
controller.doCommand('cmd_charPrevious');"/>
<key id="key_right" keycode="VK_RIGHT" shift="false" control="false"
<key id="key_right" keycode="VK_RIGHT" shift="false" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_charNext');
controller.doCommand('cmd_charNext');"/>
<key id="key_homeshift" keycode="VK_HOME" shift="true" control="false"
<key id="key_homeshift" keycode="VK_HOME" shift="true" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_selectBeginLine');
controller.doCommand('cmd_selectBeginLine');"/>
<key id="key_endshift" keycode="VK_END" shift="true" control="false"
<key id="key_endshift" keycode="VK_END" shift="true" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_selectEndLine');
controller.doCommand('cmd_selectEndLine');"/>
<key id="key_leftshift" keycode="VK_LEFT" shift="true" control="false"
<key id="key_leftshift" keycode="VK_LEFT" shift="true" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_selectCharPrevious');
controller.doCommand('cmd_selectCharPrevious');"/>
<key id="key_rightshift" keycode="VK_RIGHT" shift="true" control="false"
<key id="key_rightshift" keycode="VK_RIGHT" shift="true" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_selectCharNext');
controller.doCommand('cmd_selectCharNext');"/>
<key id="key_leftcontrol" keycode="VK_LEFT" shift="false" control="true"
<key id="key_leftcontrol" keycode="VK_LEFT" shift="false" control="true" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_wordPrevious');
controller.doCommand('cmd_wordPrevious');"/>
<key id="key_rightcontrol" keycode="VK_RIGHT" shift="false" control="true"
<key id="key_rightcontrol" keycode="VK_RIGHT" shift="false" control="true" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_wordNext');
controller.doCommand('cmd_wordNext');"/>
<key id="key_leftshiftcontrol" keycode="VK_LEFT" shift="true" control="true"
<key id="key_leftshiftcontrol" keycode="VK_LEFT" shift="true" control="true" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_selectWordPrevious');
controller.doCommand('cmd_wordPrevious');"/>
<key id="key_rightshiftcontrol" keycode="VK_RIGHT" shift="true" control="true"
<key id="key_rightshiftcontrol" keycode="VK_RIGHT" shift="true" control="true" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_selectWordNext');
controller.doCommand('cmd_wordNext');"/>
<key id="key_up" keycode="VK_UP" shift="false"
<key id="key_up" keycode="VK_UP" shift="false" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_linePrevious');
controller.doCommand('cmd_linePrevious');"/>
<key id="key_down" keycode="VK_DOWN" shift="false"
<key id="key_down" keycode="VK_DOWN" shift="false" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_lineNext');
controller.doCommand('cmd_lineNext');"/>
<key id="key_up_shift" keycode="VK_UP" shift="true"
<key id="key_up_shift" keycode="VK_UP" shift="true" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_selectLinePrevious');
controller.doCommand('cmd_selectLinePrevious');"/>
<key id="key_down_shift" keycode="VK_DOWN" shift="true"
<key id="key_down_shift" keycode="VK_DOWN" shift="true" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_selectLineNext');
controller.doCommand('cmd_selectLineNext');"/>
<key id="key_pageup" keycode="VK_PAGE_UP" shift="false" control="false"
<key id="key_pageup" keycode="VK_PAGE_UP" shift="false" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_scrollPageUp');
controller.doCommand('cmd_scrollPageUp');"/>
<key id="key_pagedown" keycode="VK_PAGE_DOWN" shift="false" control="false"
<key id="key_pagedown" keycode="VK_PAGE_DOWN" shift="false" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_scrollPageDown');

View File

@ -10,12 +10,12 @@
<!-- 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"
<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"
<key id="key_down" keycode="VK_DOWN" shift="false" control="false" alt="false"
onkeypress="
var controller =
document.commandDispatcher.getControllerForCommand('cmd_charNext');

View File

@ -7,34 +7,34 @@
<binding name="inputFieldsBase">
<handlers>
<handler type="keypress" id="key_home" keycode="VK_HOME"
<handler type="keypress" id="key_home" keycode="VK_HOME" alt="false"
command="cmd_beginLine"/>
<handler type="keypress" id="key_end" keycode="VK_END"
<handler type="keypress" id="key_end" keycode="VK_END" alt="false"
command="cmd_endLine"/>
<handler type="keypress" id="key_left" keycode="VK_LEFT"
<handler type="keypress" id="key_left" keycode="VK_LEFT" alt="false"
command="cmd_charPrevious"/>
<handler type="keypress" id="key_right" keycode="VK_RIGHT"
<handler type="keypress" id="key_right" keycode="VK_RIGHT" alt="false"
command="cmd_charNext"/>
<handler type="keypress" id="key_pageup" keycode="VK_PAGE_UP"
<handler type="keypress" id="key_pageup" keycode="VK_PAGE_UP" alt="false"
command="cmd_scrollPageUp"/>
<handler type="keypress" id="key_pagedown" keycode="VK_PAGE_DOWN"
<handler type="keypress" id="key_pagedown" keycode="VK_PAGE_DOWN" alt="false"
command="cmd_scrollPageDown"/>
<handler type="keypress" id="key_homeshift" keycode="VK_HOME" shift="true"
<handler type="keypress" id="key_homeshift" keycode="VK_HOME" shift="true" alt="false"
command="cmd_selectBeginLine"/>
<handler type="keypress" id="key_endshift" keycode="VK_END" shift="true"
<handler type="keypress" id="key_endshift" keycode="VK_END" shift="true" alt="false"
command="cmd_selectEndLine"/>
<handler type="keypress" id="key_leftshift" keycode="VK_LEFT" shift="true"
<handler type="keypress" id="key_leftshift" keycode="VK_LEFT" shift="true" alt="false"
command="cmd_selectCharPrevious"/>
<handler type="keypress" id="key_rightshift" keycode="VK_RIGHT" shift="true"
<handler type="keypress" id="key_rightshift" keycode="VK_RIGHT" shift="true" alt="false"
command="cmd_selectCharNext"/>
<handler type="keypress" id="key_leftcontrol" keycode="VK_LEFT" control="true"
<handler type="keypress" id="key_leftcontrol" keycode="VK_LEFT" control="true" alt="false"
command="cmd_wordPrevious"/>
<handler type="keypress" id="key_rightcontrol" keycode="VK_RIGHT" control="true"
<handler type="keypress" id="key_rightcontrol" keycode="VK_RIGHT" control="true" alt="false"
command="cmd_wordNext"/>
<handler type="keypress" id="key_leftshiftcontrol" keycode="VK_LEFT" shift="true" control="true"
<handler type="keypress" id="key_leftshiftcontrol" keycode="VK_LEFT" shift="true" control="true" alt="false"
command="cmd_wordPrevious"/>
<handler type="keypress" id="key_rightshiftcontrol" keycode="VK_RIGHT" shift="true" control="true"
<handler type="keypress" id="key_rightshiftcontrol" keycode="VK_RIGHT" shift="true" control="true" alt="false"
command="cmd_wordNext"/>
<handler type="keypress" id="key_undo" key="z" primary="true"
command="cmd_undo"/>
@ -47,41 +47,41 @@
<binding name="textAreasBase">
<handlers>
<handler type="keypress" id="key_home" keycode="VK_HOME"
<handler type="keypress" id="key_home" keycode="VK_HOME" alt="false"
command="cmd_beginLine"/>
<handler type="keypress" id="key_end" keycode="VK_END"
<handler type="keypress" id="key_end" keycode="VK_END" alt="false"
command="cmd_endLine"/>
<handler type="keypress" id="key_left" keycode="VK_LEFT"
<handler type="keypress" id="key_left" keycode="VK_LEFT" alt="false"
command="cmd_charPrevious"/>
<handler type="keypress" id="key_right" keycode="VK_RIGHT"
<handler type="keypress" id="key_right" keycode="VK_RIGHT" alt="false"
command="cmd_charNext"/>
<handler type="keypress" id="key_homeshift" keycode="VK_HOME" shift="true"
<handler type="keypress" id="key_homeshift" keycode="VK_HOME" shift="true" alt="false"
command="cmd_selectBeginLine"/>
<handler type="keypress" id="key_endshift" keycode="VK_END" shift="true"
<handler type="keypress" id="key_endshift" keycode="VK_END" shift="true" alt="false"
command="cmd_selectEndLine"/>
<handler type="keypress" id="key_leftshift" keycode="VK_LEFT" shift="true"
<handler type="keypress" id="key_leftshift" keycode="VK_LEFT" shift="true" alt="false"
command="cmd_selectCharPrevious"/>
<handler type="keypress" id="key_rightshift" keycode="VK_RIGHT" shift="true"
<handler type="keypress" id="key_rightshift" keycode="VK_RIGHT" shift="true" alt="false"
command="cmd_selectCharNext"/>
<handler type="keypress" id="key_leftcontrol" keycode="VK_LEFT" control="true"
<handler type="keypress" id="key_leftcontrol" keycode="VK_LEFT" control="true" alt="false"
command="cmd_wordPrevious"/>
<handler type="keypress" id="key_rightcontrol" keycode="VK_RIGHT" control="true"
<handler type="keypress" id="key_rightcontrol" keycode="VK_RIGHT" control="true" alt="false"
command="cmd_wordNext"/>
<handler type="keypress" id="key_leftshiftcontrol" keycode="VK_LEFT" shift="true" control="true"
<handler type="keypress" id="key_leftshiftcontrol" keycode="VK_LEFT" shift="true" control="true" alt="false"
command="cmd_wordPrevious"/>
<handler type="keypress" id="key_rightshiftcontrol" keycode="VK_RIGHT" shift="true" control="true"
<handler type="keypress" id="key_rightshiftcontrol" keycode="VK_RIGHT" shift="true" control="true" alt="false"
command="cmd_wordNext"/>
<handler type="keypress" id="key_up" keycode="VK_UP"
<handler type="keypress" id="key_up" keycode="VK_UP"alt="false"
command="cmd_linePrevious"/>
<handler type="keypress" id="key_down" keycode="VK_DOWN"
<handler type="keypress" id="key_down" keycode="VK_DOWN" alt="false"
command="cmd_lineNext"/>
<handler type="keypress" id="key_up_shift" keycode="VK_UP" shift="true"
<handler type="keypress" id="key_up_shift" keycode="VK_UP" shift="true" alt="false"
command="cmd_selectLinePrevious"/>
<handler type="keypress" id="key_down_shift" keycode="VK_DOWN" shift="true"
<handler type="keypress" id="key_down_shift" keycode="VK_DOWN" shift="true" alt="false"
command="cmd_selectLineNext"/>
<handler type="keypress" id="key_pageup" keycode="VK_PAGE_UP"
<handler type="keypress" id="key_pageup" keycode="VK_PAGE_UP" alt="false"
command="cmd_scrollPageUp"/>
<handler type="keypress" id="key_pagedown" keycode="VK_PAGE_DOWN"
<handler type="keypress" id="key_pagedown" keycode="VK_PAGE_DOWN" alt="false"
command="cmd_scrollPageDown"/>
<handler type="keypress" id="key_undo" key="z" primary="true"
command="cmd_undo"/>

View File

@ -6,9 +6,9 @@
<binding name="inputFields" extends="resource:/chrome/htmlBindings.xml#inputFieldsBase">
<handlers>
<handler type="keypress" id="key_up" keycode="VK_UP"
<handler type="keypress" id="key_up" keycode="VK_UP" alt="false"
command="cmd_charPrevious"/>
<handler type="keypress" id="key_down" keycode="VK_DOWN"
<handler type="keypress" id="key_down" keycode="VK_DOWN" alt="false"
command="cmd_charNext"/>
</handlers>
</binding>