зеркало из https://github.com/mozilla/gecko-dev.git
*** empty log message ***
This commit is contained in:
Родитель
9e7506770a
Коммит
56a8de0b1c
|
@ -42,4 +42,54 @@
|
|||
command="cmd_redo"/>
|
||||
|
||||
</handlers>
|
||||
</binding>
|
||||
|
||||
<binding name="textAreasBase">
|
||||
<handlers>
|
||||
|
||||
<handler type="keypress" id="key_home" keycode="VK_HOME"
|
||||
command="cmd_beginLine"/>
|
||||
<handler type="keypress" id="key_end" keycode="VK_END"
|
||||
command="cmd_endLine"/>
|
||||
<handler type="keypress" id="key_left" keycode="VK_LEFT"
|
||||
command="cmd_charPrevious"/>
|
||||
<handler type="keypress" id="key_right" keycode="VK_RIGHT"
|
||||
command="cmd_charNext"/>
|
||||
<handler type="keypress" id="key_homeshift" keycode="VK_HOME" shift="true"
|
||||
command="cmd_selectBeginLine"/>
|
||||
<handler type="keypress" id="key_endshift" keycode="VK_END" shift="true"
|
||||
command="cmd_selectEndLine"/>
|
||||
<handler type="keypress" id="key_leftshift" keycode="VK_LEFT" shift="true"
|
||||
command="cmd_selectCharPrevious"/>
|
||||
<handler type="keypress" id="key_rightshift" keycode="VK_RIGHT" shift="true"
|
||||
command="cmd_selectCharNext"/>
|
||||
<handler type="keypress" id="key_leftcontrol" keycode="VK_LEFT" control="true"
|
||||
command="cmd_wordPrevious"/>
|
||||
<handler type="keypress" id="key_rightcontrol" keycode="VK_RIGHT" control="true"
|
||||
command="cmd_wordNext"/>
|
||||
<handler type="keypress" id="key_leftshiftcontrol" keycode="VK_LEFT" shift="true" control="true"
|
||||
command="cmd_wordPrevious"/>
|
||||
<handler type="keypress" id="key_rightshiftcontrol" keycode="VK_RIGHT" shift="true" control="true"
|
||||
command="cmd_wordNext"/>
|
||||
<handler type="keypress" id="key_up" keycode="VK_UP"
|
||||
command="cmd_linePrevious"/>
|
||||
<handler type="keypress" id="key_down" keycode="VK_DOWN"
|
||||
command="cmd_lineNext"/>
|
||||
<handler type="keypress" id="key_up_shift" keycode="VK_UP" shift="true"
|
||||
command="cmd_selectLinePrevious"/>
|
||||
<handler type="keypress" id="key_down_shift" keycode="VK_DOWN" shift="true"
|
||||
command="cmd_selectLineNext"/>
|
||||
<handler type="keypress" id="key_pageup" keycode="VK_PAGE_UP"
|
||||
command="cmd_scrollPageUp"/>
|
||||
<handler type="keypress" id="key_pagedown" keycode="VK_PAGE_DOWN"
|
||||
command="cmd_scrollPageDown"/>
|
||||
<handler type="keypress" id="key_undo" key="z" primary="true"
|
||||
command="cmd_undo"/>
|
||||
<handler type="keypress" id="key_redo" key="y" primary="true"
|
||||
command="cmd_redo"/>
|
||||
|
||||
</handlers>
|
||||
</binding>
|
||||
|
||||
|
||||
</bindings>
|
||||
|
|
|
@ -5,6 +5,15 @@
|
|||
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_up" keycode="VK_UP"
|
||||
command="cmd_charPrevious"/>
|
||||
<handler type="keypress" id="key_down" keycode="VK_DOWN"
|
||||
command="cmd_charNext"/>
|
||||
</handlers>
|
||||
</binding>
|
||||
|
||||
<binding name="textAreas" extends="resource:/chrome/htmlBindings.xml#textAreasBase">
|
||||
<handlers>
|
||||
</handlers>
|
||||
</binding>
|
||||
|
|
Загрузка…
Ссылка в новой задаче