Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | <?xml version="1.0"?> |
michael@0 | 2 | <!-- This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 3 | - License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 4 | - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
michael@0 | 5 | |
michael@0 | 6 | |
michael@0 | 7 | <bindings id="htmlBindings" |
michael@0 | 8 | xmlns="http://www.mozilla.org/xbl" |
michael@0 | 9 | xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> |
michael@0 | 10 | |
michael@0 | 11 | <binding id="inputFields"> |
michael@0 | 12 | <handlers> |
michael@0 | 13 | #include ../input-fields-base.inc |
michael@0 | 14 | <handler event="keypress" key="a" modifiers="alt" |
michael@0 | 15 | command="cmd_selectAll"/> |
michael@0 | 16 | <handler event="keypress" key="y" modifiers="accel" |
michael@0 | 17 | command="cmd_redo"/> |
michael@0 | 18 | <handler event="keypress" key="z" modifiers="accel,shift" command="cmd_redo"/> |
michael@0 | 19 | <handler event="keypress" key="z" modifiers="accel" command="cmd_undo"/> |
michael@0 | 20 | </handlers> |
michael@0 | 21 | </binding> |
michael@0 | 22 | |
michael@0 | 23 | <binding id="textAreas"> |
michael@0 | 24 | <handlers> |
michael@0 | 25 | #include ../textareas-base.inc |
michael@0 | 26 | <handler event="keypress" key="a" modifiers="alt" |
michael@0 | 27 | command="cmd_selectAll"/> |
michael@0 | 28 | <handler event="keypress" key="y" modifiers="accel" |
michael@0 | 29 | command="cmd_redo"/> |
michael@0 | 30 | <handler event="keypress" key="z" modifiers="accel" command="cmd_undo"/> |
michael@0 | 31 | <handler event="keypress" key="z" modifiers="accel,shift" command="cmd_redo"/> |
michael@0 | 32 | </handlers> |
michael@0 | 33 | </binding> |
michael@0 | 34 | |
michael@0 | 35 | <binding id="browser"> |
michael@0 | 36 | <handlers> |
michael@0 | 37 | #include ../browser-base.inc |
michael@0 | 38 | <handler event="keypress" keycode="VK_PAGE_UP" command="cmd_movePageUp"/> |
michael@0 | 39 | <handler event="keypress" keycode="VK_PAGE_DOWN" command="cmd_movePageDown"/> |
michael@0 | 40 | <handler event="keypress" keycode="VK_PAGE_UP" modifiers="shift" command="cmd_selectPageUp"/> |
michael@0 | 41 | <handler event="keypress" keycode="VK_PAGE_DOWN" modifiers="shift" command="cmd_selectPageDown"/> |
michael@0 | 42 | |
michael@0 | 43 | <handler event="keypress" keycode="VK_DELETE" modifiers="shift" command="cmd_cut" /> |
michael@0 | 44 | <handler event="keypress" keycode="VK_DELETE" modifiers="control" command="cmd_copy" /> |
michael@0 | 45 | <handler event="keypress" keycode="VK_INSERT" modifiers="control" command="cmd_copy" /> |
michael@0 | 46 | <handler event="keypress" keycode="VK_HOME" command="cmd_beginLine"/> |
michael@0 | 47 | <handler event="keypress" keycode="VK_END" command="cmd_endLine"/> |
michael@0 | 48 | <handler event="keypress" keycode="VK_HOME" modifiers="control" command="cmd_moveTop"/> |
michael@0 | 49 | <handler event="keypress" keycode="VK_END" modifiers="control" command="cmd_moveBottom"/> |
michael@0 | 50 | <handler event="keypress" keycode="VK_HOME" modifiers="shift,control" command="cmd_selectTop" /> |
michael@0 | 51 | <handler event="keypress" keycode="VK_END" modifiers="shift,control" command="cmd_selectBottom" /> |
michael@0 | 52 | |
michael@0 | 53 | <handler event="keypress" keycode="VK_LEFT" modifiers="control" command="cmd_wordPrevious" /> |
michael@0 | 54 | <handler event="keypress" keycode="VK_RIGHT" modifiers="control" command="cmd_wordNext" /> |
michael@0 | 55 | <handler event="keypress" keycode="VK_LEFT" modifiers="control,shift" command="cmd_selectWordPrevious" /> |
michael@0 | 56 | <handler event="keypress" keycode="VK_RIGHT" modifiers="control,shift" command="cmd_selectWordNext" /> |
michael@0 | 57 | <handler event="keypress" keycode="VK_LEFT" modifiers="shift" command="cmd_selectCharPrevious" /> |
michael@0 | 58 | <handler event="keypress" keycode="VK_RIGHT" modifiers="shift" command="cmd_selectCharNext" /> |
michael@0 | 59 | <handler event="keypress" keycode="VK_HOME" modifiers="shift" command="cmd_selectBeginLine" /> |
michael@0 | 60 | <handler event="keypress" keycode="VK_END" modifiers="shift" command="cmd_selectEndLine" /> |
michael@0 | 61 | <handler event="keypress" keycode="VK_UP" modifiers="shift" command="cmd_selectLinePrevious" /> |
michael@0 | 62 | <handler event="keypress" keycode="VK_DOWN" modifiers="shift" command="cmd_selectLineNext" /> |
michael@0 | 63 | <handler event="keypress" key="a" modifiers="alt" command="cmd_selectAll"/> |
michael@0 | 64 | </handlers> |
michael@0 | 65 | </binding> |
michael@0 | 66 | |
michael@0 | 67 | <binding id="editor"> |
michael@0 | 68 | <handlers> |
michael@0 | 69 | #include ../editor-base.inc |
michael@0 | 70 | <handler event="keypress" key="z" modifiers="accel" command="cmd_undo"/> |
michael@0 | 71 | <handler event="keypress" key="z" modifiers="accel,shift" command="cmd_redo"/> |
michael@0 | 72 | <handler event="keypress" key="y" modifiers="accel" command="cmd_redo"/> |
michael@0 | 73 | <handler event="keypress" key="a" modifiers="alt" command="cmd_selectAll"/> |
michael@0 | 74 | </handlers> |
michael@0 | 75 | </binding> |
michael@0 | 76 | </bindings> |