mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-15 03:00:30 +00:00
MAJOR OS/2 breakage as a result of 48758 Hey guys, we have a platformHTMLBindings.xml file too!
This commit is contained in:
parent
544ec0f11a
commit
69cf2ac5bc
@ -6,87 +6,96 @@
|
||||
|
||||
<binding id="inputFields" extends="chrome://global/content/htmlBindings.xml#inputFieldsBase">
|
||||
<handlers>
|
||||
<handler event="keypress" id="key_up" keycode="VK_UP"
|
||||
command="cmd_charPrevious"/>
|
||||
<handler event="keypress" id="key_down" keycode="VK_DOWN"
|
||||
command="cmd_charNext"/>
|
||||
<handler event="keypress" id="key_leftshift" keycode="VK_UP" modifiers="shift"
|
||||
command="cmd_selectCharPrevious"/>
|
||||
<handler event="keypress" id="key_rightshift" keycode="VK_DOWN" modifiers="shift"
|
||||
command="cmd_selectCharNext"/>
|
||||
|
||||
<handler event="keypress" id="key_home" keycode="VK_HOME"
|
||||
command="cmd_beginLine"/>
|
||||
<handler event="keypress" id="key_end" keycode="VK_END"
|
||||
command="cmd_endLine"/>
|
||||
<handler event="keypress" id="key_homeshift" keycode="VK_HOME" modifiers="shift"
|
||||
command="cmd_selectBeginLine"/>
|
||||
<handler event="keypress" id="key_endshift" keycode="VK_END" modifiers="shift"
|
||||
command="cmd_selectEndLine"/>
|
||||
<handler event="keypress" id="key_homecontrolshift" keycode="VK_HOME" shift="true" alt="false" control="true"
|
||||
<handler event="keypress" keycode="VK_UP" command="cmd_charPrevious"/>
|
||||
<handler event="keypress" keycode="VK_DOWN" command="cmd_charNext"/>
|
||||
<handler event="keypress" keycode="VK_UP" modifiers="shift" command="cmd_selectCharPrevious"/>
|
||||
<handler event="keypress" keycode="VK_DOWN" modifiers="shift" command="cmd_selectCharNext"/>
|
||||
<handler event="keypress" keycode="VK_HOME" command="cmd_beginLine"/>
|
||||
<handler event="keypress" keycode="VK_END" command="cmd_endLine"/>
|
||||
<handler event="keypress" keycode="VK_HOME" modifiers="shift" command="cmd_selectBeginLine"/>
|
||||
<handler event="keypress" keycode="VK_END" modifiers="shift" command="cmd_selectEndLine"/>
|
||||
<handler event="keypress" keycode="VK_HOME" modifiers="shift,control"
|
||||
command="cmd_selectTop"/>
|
||||
<handler event="keypress" id="key_endcontrolshift" keycode="VK_END" shift="true" alt="false" control="true"
|
||||
<handler event="keypress" keycode="VK_END" modifiers="shift,control"
|
||||
command="cmd_selectBottom"/>
|
||||
<handler event="keypress" id="key_homecontrol" keycode="VK_HOME" shift="false" alt="false" control="true"
|
||||
<handler event="keypress" keycode="VK_HOME" modifiers="control"
|
||||
command="cmd_moveTop"/>
|
||||
<handler event="keypress" id="key_endcontrol" keycode="VK_END" shift="false" alt="false" control="true"
|
||||
<handler event="keypress" keycode="VK_END" modifiers="control"
|
||||
command="cmd_moveBottom"/>
|
||||
<handler event="keypress" id="key_leftcontrol" keycode="VK_LEFT" modifiers="control"
|
||||
<handler event="keypress" keycode="VK_LEFT" modifiers="control"
|
||||
command="cmd_wordPrevious"/>
|
||||
<handler event="keypress" id="key_rightcontrol" keycode="VK_RIGHT" modifiers="control"
|
||||
<handler event="keypress" keycode="VK_RIGHT" modifiers="control"
|
||||
command="cmd_wordNext"/>
|
||||
<handler event="keypress" id="key_leftshiftcontrol" keycode="VK_LEFT" modifiers="shift,control"
|
||||
<handler event="keypress" keycode="VK_LEFT" modifiers="shift,control"
|
||||
command="cmd_selectWordPrevious"/>
|
||||
<handler event="keypress" id="key_rightshiftcontrol" keycode="VK_RIGHT" modifiers="shift,control"
|
||||
<handler event="keypress" keycode="VK_RIGHT" modifiers="shift,control"
|
||||
command="cmd_selectWordNext"/>
|
||||
<handler event="keypress" id="key_redo" key="y" modifiers="accel"
|
||||
<handler event="keypress" key="y" modifiers="accel"
|
||||
command="cmd_redo"/>
|
||||
|
||||
<handler event="keypress" id="key_altwincut" keycode="VK_DELETE" modifiers="shift"
|
||||
<handler event="keypress" keycode="VK_DELETE" modifiers="shift"
|
||||
command="cmd_cut"/>
|
||||
<handler event="keypress" id="key_altwincopy" keycode="VK_INSERT" modifiers="control"
|
||||
<handler event="keypress" keycode="VK_INSERT" modifiers="control"
|
||||
command="cmd_copy"/>
|
||||
<handler event="keypress" id="key_altwinpaste" keycode="VK_INSERT" modifiers="shift"
|
||||
<handler event="keypress" keycode="VK_INSERT" modifiers="shift"
|
||||
command="cmd_paste"/>
|
||||
</handlers>
|
||||
</binding>
|
||||
|
||||
<binding id="textAreas" extends="chrome://global/content/htmlBindings.xml#textAreasBase">
|
||||
<handlers>
|
||||
<handler event="keypress" id="key_home" keycode="VK_HOME"
|
||||
<handler event="keypress" keycode="VK_HOME"
|
||||
command="cmd_beginLine"/>
|
||||
<handler event="keypress" id="key_end" keycode="VK_END"
|
||||
<handler event="keypress" keycode="VK_END"
|
||||
command="cmd_endLine"/>
|
||||
<handler event="keypress" id="key_homeshift" keycode="VK_HOME" modifiers="shift"
|
||||
<handler event="keypress" keycode="VK_HOME" modifiers="shift"
|
||||
command="cmd_selectBeginLine"/>
|
||||
<handler event="keypress" id="key_endshift" keycode="VK_END" modifiers="shift"
|
||||
<handler event="keypress" keycode="VK_END" modifiers="shift"
|
||||
command="cmd_selectEndLine"/>
|
||||
<handler event="keypress" id="key_homecontrolshift" keycode="VK_HOME" shift="true" alt="false" control="true"
|
||||
<handler event="keypress" keycode="VK_HOME" modifiers="shift,control"
|
||||
command="cmd_selectTop"/>
|
||||
<handler event="keypress" id="key_endcontrolshift" keycode="VK_END" shift="true" alt="false" control="true"
|
||||
<handler event="keypress" keycode="VK_END" modifiers="shift,control"
|
||||
command="cmd_selectBottom"/>
|
||||
<handler event="keypress" id="key_homecontrol" keycode="VK_HOME" shift="false" alt="false" control="true"
|
||||
<handler event="keypress" keycode="VK_HOME" modifiers="control"
|
||||
command="cmd_moveTop"/>
|
||||
<handler event="keypress" id="key_endcontrol" keycode="VK_END" shift="false" alt="false" control="true"
|
||||
command="cmd_moveBottom"/>
|
||||
<handler event="keypress" id="key_leftcontrol" keycode="VK_LEFT" modifiers="control"
|
||||
command="cmd_wordPrevious"/>
|
||||
<handler event="keypress" id="key_rightcontrol" keycode="VK_RIGHT" modifiers="control"
|
||||
command="cmd_wordNext"/>
|
||||
<handler event="keypress" id="key_leftshiftcontrol" keycode="VK_LEFT" modifiers="shift,control"
|
||||
command="cmd_selectWordPrevious"/>
|
||||
<handler event="keypress" id="key_rightshiftcontrol" keycode="VK_RIGHT" modifiers="shift,control"
|
||||
command="cmd_selectWordNext"/>
|
||||
<handler event="keypress" id="key_redo" key="y" modifiers="accel"
|
||||
command="cmd_redo"/>
|
||||
<handler event="keypress" keycode="VK_END" modifiers="control" command="cmd_moveBottom"/>
|
||||
<handler event="keypress" keycode="VK_LEFT" modifiers="control" command="cmd_wordPrevious"/>
|
||||
<handler event="keypress" keycode="VK_RIGHT" modifiers="control" command="cmd_wordNext"/>
|
||||
<handler event="keypress" keycode="VK_LEFT" modifiers="shift,control" command="cmd_selectWordPrevious"/>
|
||||
<handler event="keypress" keycode="VK_RIGHT" modifiers="shift,control" command="cmd_selectWordNext"/>
|
||||
<handler event="keypress" key="y" modifiers="accel" command="cmd_redo"/>
|
||||
|
||||
<handler event="keypress" id="key_altwincut" keycode="VK_DELETE" modifiers="shift"
|
||||
command="cmd_cut"/>
|
||||
<handler event="keypress" id="key_altwincopy" keycode="VK_INSERT" modifiers="control"
|
||||
command="cmd_copy"/>
|
||||
<handler event="keypress" id="key_altwinpaste" keycode="VK_INSERT" modifiers="shift"
|
||||
command="cmd_paste"/>
|
||||
<handler event="keypress" keycode="VK_DELETE" modifiers="shift" command="cmd_cut"/>
|
||||
<handler event="keypress" keycode="VK_INSERT" modifiers="control" command="cmd_copy"/>
|
||||
<handler event="keypress" keycode="VK_INSERT" modifiers="shift" command="cmd_paste"/>
|
||||
</handlers>
|
||||
</binding>
|
||||
|
||||
<binding id="browser">
|
||||
<handlers>
|
||||
<handler event="keypress" keycode="VK_DELETE" modifiers="shift" command="cmd_cut"/>
|
||||
<handler event="keypress" keycode="VK_DELETE" modifiers="control" command="cmd_copy"/>
|
||||
<handler event="keypress" keycode="VK_INSERT" modifiers="control" command="cmd_copy"/>
|
||||
<handler event="keypress" keycode="VK_INSERT" modifiers="shift" command="cmd_paste"/>
|
||||
<handler event="keypress" keycode="VK_HOME" modifiers="control" command="cmd_scrollTop"/>
|
||||
<handler event="keypress" keycode="VK_END" modifiers="control" command="cmd_scrollBottom"/>
|
||||
</handlers>
|
||||
</binding>
|
||||
|
||||
<binding id="editor">
|
||||
<handlers>
|
||||
<handler event="keypress" keycode="VK_DELETE" modifiers="control" command="cmd_cut"/>
|
||||
<handler event="keypress" keycode="VK_DELETE" modifiers="control" command="cmd_copy"/>
|
||||
<handler event="keypress" keycode="VK_INSERT" modifiers="control" command="cmd_copy"/>
|
||||
<handler event="keypress" keycode="VK_INSERT" modifiers="shift" command="cmd_paste"/>
|
||||
<handler event="keypress" keycode="VK_LEFT" modifiers="accel" command="cmd_wordPrevious"/>
|
||||
<handler event="keypress" keycode="VK_RIGHT" modifiers="accel" command="cmd_wordNext"/>
|
||||
<handler event="keypress" keycode="VK_LEFT" modifiers="shift,accel" command="cmd_selectWordPrevious"/>
|
||||
<handler event="keypress" keycode="VK_RIGHT" modifiers="shift,accel" command="cmd_selectWordNext"/>
|
||||
<handler event="keypress" keycode="VK_HOME" modifiers="shift,control" command="cmd_selectTop"/>
|
||||
<handler event="keypress" keycode="VK_END" modifiers="shift,control" command="cmd_selectBottom"/>
|
||||
<handler event="keypress" keycode="VK_HOME" modifiers="control" command="cmd_moveTop"/>
|
||||
<handler event="keypress" keycode="VK_END" modifiers="control" command="cmd_moveBottom"/>
|
||||
</handlers>
|
||||
</binding>
|
||||
</bindings>
|
||||
|
Loading…
Reference in New Issue
Block a user