Files
Mozilla/mozilla/xpfe/global/resources/skin/mac/platformHTMLBindings.xml
brade%netscape.com 9a664cd12a fix new keybindings to match what was in the old xul files r=akkana, Jerry.Kirk@nexwarecorp.com
git-svn-id: svn://10.0.0.236/trunk@60878 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 14:46:32 +00:00

89 lines
4.9 KiB
XML

<?xml version="1.0"?>
<bindings id="htmlBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<binding name="inputFields" extends="resource:/chrome/htmlBindings.xml#inputFieldsBase">
<handlers>
<handler type="keypress" id="key_redo" key="z" primary="true" shift="true" alt="false" control="false"
command="cmd_redo"/>
<handler type="keypress" id="key_up" keycode="VK_UP" alt="false" shift="false" control="false"
command="cmd_linePrevious"/>
<handler type="keypress" id="key_down" keycode="VK_DOWN" alt="false" shift="false" control="false"
command="cmd_lineNext"/>
<handler type="keypress" id="key_up_shift" keycode="VK_UP" alt="false" shift="true" control="false"
command="cmd_selectBeginLine"/>
<handler type="keypress" id="key_down_shift" keycode="VK_DOWN" alt="false" shift="true" control="false"
command="cmd_selectEndLine"/>
<handler type="keypress" id="key_up_meta" keycode="VK_UP" meta="true" alt="false" shift="false" control="false"
command="cmd_scrollPageUp"/>
<handler type="keypress" id="key_down_meta" keycode="VK_DOWN" meta="true" alt="false" shift="false" control="false"
command="cmd_scrollPageDown"/>
<handler type="keypress" id="key_leftalt" keycode="VK_LEFT" alt="true" shift="false" control="false"
command="cmd_wordPrevious"/>
<handler type="keypress" id="key_rightalt" keycode="VK_RIGHT" alt="true" shift="false" control="false"
command="cmd_wordNext"/>
<handler type="keypress" id="key_leftshiftalt" keycode="VK_LEFT" alt="true" shift="true" control="false"
command="cmd_selectWordPrevious"/>
<handler type="keypress" id="key_rightshiftalt" keycode="VK_RIGHT" alt="true" shift="true" control="false"
command="cmd_selectWordNext"/>
<handler type="keypress" id="key_leftmeta" keycode="VK_LEFT" meta="true" alt="false" shift="false" control="false"
command="cmd_linePrevious"/>
<handler type="keypress" id="key_rightmeta" keycode="VK_RIGHT" meta="true" alt="false" shift="false" control="false"
command="cmd_lineNext"/>
<handler type="keypress" id="key_leftshiftmeta" keycode="VK_LEFT" meta="true" alt="false" shift="true" control="false"
command="cmd_selectBeginLine"/>
<handler type="keypress" id="key_rightshiftmeta" keycode="VK_RIGHT" meta="true" alt="false" shift="true" control="false"
command="cmd_selectEndLine"/>
</handlers>
</binding>
<binding name="textAreas" extends="resource:/chrome/htmlBindings.xml#textAreasBase">
<handlers>
<handler type="keypress" id="key_redo" key="z" primary="true" shift="true" alt="false" control="false"
command="cmd_redo"/>
<handler type="keypress" id="key_home" keycode="VK_HOME" alt="false" shift="false" control="false"
command="cmd_scrollPageUp"/>
<handler type="keypress" id="key_end" keycode="VK_END" alt="false" shift="false" control="false"
command="cmd_scrollPageDown"/>
<handler type="keypress" id="key_homeshift" keycode="VK_HOME" shift="true" alt="false" control="false"
command="cmd_selectBeginLine"/>
<handler type="keypress" id="key_endshift" keycode="VK_END" shift="true" alt="false" control="false"
command="cmd_selectEndLine"/>
<handler type="keypress" id="key_up_meta" keycode="VK_UP" meta="true" alt="false" shift="false" control="false"
command="cmd_scrollPageUp"/>
<handler type="keypress" id="key_down_meta" keycode="VK_DOWN" meta="true" alt="false" shift="false" control="false"
command="cmd_scrollPageDown"/>
<handler type="keypress" id="key_leftalt" keycode="VK_LEFT" alt="true" shift="false" control="false"
command="cmd_wordPrevious"/>
<handler type="keypress" id="key_rightalt" keycode="VK_RIGHT" alt="true" shift="false" control="false"
command="cmd_wordNext"/>
<handler type="keypress" id="key_leftshiftalt" keycode="VK_LEFT" alt="true" shift="true" control="false"
command="cmd_selectWordPrevious"/>
<handler type="keypress" id="key_rightshiftalt" keycode="VK_RIGHT" alt="true" shift="true" control="false"
command="cmd_selectWordNext"/>
<handler type="keypress" id="key_leftmeta" keycode="VK_LEFT" meta="true" alt="false" shift="false" control="false"
command="cmd_linePrevious"/>
<handler type="keypress" id="key_rightmeta" keycode="VK_RIGHT" meta="true" alt="false" shift="false" control="false"
command="cmd_lineNext"/>
<handler type="keypress" id="key_leftshiftmeta" keycode="VK_LEFT" meta="true" alt="false" shift="true" control="false"
command="cmd_selectBeginLine"/>
<handler type="keypress" id="key_rightshiftmeta" keycode="VK_RIGHT" meta="true" alt="false" shift="true" control="false"
command="cmd_selectEndLine"/>
</handlers>
</binding>
</bindings>