mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 05:48:26 +00:00
add comment and modifier="false" to some keybindings
This commit is contained in:
parent
b4a776dff2
commit
176979235b
@ -25,22 +25,26 @@
|
||||
var controller = document.commandDispatcher.getControllerForCommand('cmd_scrollBottom');
|
||||
controller.doCommand('cmd_scrollBottom');"/>
|
||||
|
||||
<key id="key_leftcontrol" keycode="VK_LEFT" shift="false" xulkey="true" alt="false"
|
||||
<!-- Command-left/right arrow won't work on Macintosh non-Roman scripts systems since they are
|
||||
reserved for keyboard layout in the OS (source: Macintosh Human Interface Guidelines) -->
|
||||
|
||||
<key id="key_leftcontrol" keycode="VK_LEFT" shift="false" meta="true" alt="false" control="false"
|
||||
onkeypress="
|
||||
var controller = document.commandDispatcher.getControllerForCommand('cmd_wordPrevious');
|
||||
controller.doCommand('cmd_wordPrevious');"/>
|
||||
<key id="key_rightcontrol" keycode="VK_RIGHT" shift="false" xulkey="true" alt="false"
|
||||
<key id="key_rightcontrol" keycode="VK_RIGHT" shift="false" meta="true" alt="false" control="false"
|
||||
onkeypress="
|
||||
var controller = document.commandDispatcher.getControllerForCommand('cmd_wordNext');
|
||||
controller.doCommand('cmd_wordNext');"/>
|
||||
<key id="key_leftshiftcontrol" keycode="VK_LEFT" shift="true" xulkey="true" alt="false"
|
||||
<key id="key_leftshiftcontrol" keycode="VK_LEFT" shift="true" meta="true" alt="false" control="false"
|
||||
onkeypress="
|
||||
var controller = document.commandDispatcher.getControllerForCommand('cmd_selectWordPrevious');
|
||||
controller.doCommand('cmd_selectWordPrevious');"/>
|
||||
<key id="key_rightshiftcontrol" keycode="VK_RIGHT" shift="true" xulkey="true" alt="false"
|
||||
<key id="key_rightshiftcontrol" keycode="VK_RIGHT" shift="true" meta="true" alt="false" control="false"
|
||||
onkeypress="
|
||||
var controller = document.commandDispatcher.getControllerForCommand('cmd_selectWordNext');
|
||||
controller.doCommand('cmd_selectWordNext');"/>
|
||||
|
||||
</keyset>
|
||||
<!-- End Mac-specific key bindings -->
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user