зеркало из https://github.com/mozilla/pjs.git
42885: Add cut/copy/paste bindings for input fields and text areas. r=saari
This commit is contained in:
Родитель
fff3438eb2
Коммит
e7a115a158
|
@ -31,6 +31,16 @@
|
|||
<handler type="keypress" id="key_undo" key="z" primary="true"
|
||||
command="cmd_undo"/>
|
||||
|
||||
<!-- Cut/copy/paste/undo -->
|
||||
<handler type="keypress" id="key_copy" key="c" primary="true"
|
||||
command="cmd_copy"/>
|
||||
<handler type="keypress" id="key_cut" key="x" primary="true"
|
||||
command="cmd_cut"/>
|
||||
<handler type="keypress" id="key_paste" key="v" primary="true"
|
||||
command="cmd_paste"/>
|
||||
<handler type="keypress" id="key_undo" key="z" primary="true"
|
||||
command="cmd_undo"/>
|
||||
|
||||
</handlers>
|
||||
</binding>
|
||||
|
||||
|
@ -60,6 +70,16 @@
|
|||
<handler type="keypress" id="key_undo" key="z" primary="true"
|
||||
command="cmd_undo"/>
|
||||
|
||||
<!-- Cut/copy/paste/undo -->
|
||||
<handler type="keypress" id="key_copy" key="c" primary="true"
|
||||
command="cmd_copy"/>
|
||||
<handler type="keypress" id="key_cut" key="x" primary="true"
|
||||
command="cmd_cut"/>
|
||||
<handler type="keypress" id="key_paste" key="v" primary="true"
|
||||
command="cmd_paste"/>
|
||||
<handler type="keypress" id="key_undo" key="z" primary="true"
|
||||
command="cmd_undo"/>
|
||||
|
||||
</handlers>
|
||||
</binding>
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче