Fix 66135: use option, not command, for moving to and selecting previous/next word on mac. r=timeless sr=sfraser

This commit is contained in:
blakeross%telocity.com 2001-01-22 20:34:04 +00:00
Родитель 1519d3233f
Коммит 25233a6df6
3 изменённых файлов: 12 добавлений и 12 удалений

Просмотреть файл

@ -113,10 +113,10 @@
<handler event="keypress" key="z" modifiers="accel,shift" command="cmd_redo" />
<handler event="keypress" keycode="VK_HOME" command="cmd_scrollTop" />
<handler event="keypress" keycode="VK_END" command="cmd_scrollBottom" />
<handler event="keypress" keycode="VK_LEFT" modifiers="meta" command="cmd_wordPrevious" />
<handler event="keypress" keycode="VK_RIGHT" modifiers="meta" command="cmd_wordNext" />
<handler event="keypress" keycode="VK_LEFT" modifiers="shift,meta" command="cmd_selectWordPrevious" />
<handler event="keypress" keycode="VK_RIGHT" modifiers="shift,meta" command="cmd_selectWordNext" />
<handler event="keypress" keycode="VK_LEFT" modifiers="alt" command="cmd_wordPrevious" />
<handler event="keypress" keycode="VK_RIGHT" modifiers="alt" command="cmd_wordNext" />
<handler event="keypress" keycode="VK_LEFT" modifiers="shift,alt" command="cmd_selectWordPrevious" />
<handler event="keypress" keycode="VK_RIGHT" modifiers="shift,alt" command="cmd_selectWordNext" />
<handler event="keypress" keycode="VK_DELETE" modifiers="shift" command="cmd_deleteCharForward" />
</handlers>
</binding>

Просмотреть файл

@ -113,10 +113,10 @@
<handler event="keypress" key="z" modifiers="accel,shift" command="cmd_redo" />
<handler event="keypress" keycode="VK_HOME" command="cmd_scrollTop" />
<handler event="keypress" keycode="VK_END" command="cmd_scrollBottom" />
<handler event="keypress" keycode="VK_LEFT" modifiers="meta" command="cmd_wordPrevious" />
<handler event="keypress" keycode="VK_RIGHT" modifiers="meta" command="cmd_wordNext" />
<handler event="keypress" keycode="VK_LEFT" modifiers="shift,meta" command="cmd_selectWordPrevious" />
<handler event="keypress" keycode="VK_RIGHT" modifiers="shift,meta" command="cmd_selectWordNext" />
<handler event="keypress" keycode="VK_LEFT" modifiers="alt" command="cmd_wordPrevious" />
<handler event="keypress" keycode="VK_RIGHT" modifiers="alt" command="cmd_wordNext" />
<handler event="keypress" keycode="VK_LEFT" modifiers="shift,alt" command="cmd_selectWordPrevious" />
<handler event="keypress" keycode="VK_RIGHT" modifiers="shift,alt" command="cmd_selectWordNext" />
<handler event="keypress" keycode="VK_DELETE" modifiers="shift" command="cmd_deleteCharForward" />
</handlers>
</binding>

Просмотреть файл

@ -31,19 +31,19 @@
<key id="key_leftcontrol" keycode="VK_LEFT"
oncommand="
var controller = document.commandDispatcher.getControllerForCommand('cmd_wordPrevious');
controller.doCommand('cmd_wordPrevious');" modifiers="meta"/>
controller.doCommand('cmd_wordPrevious');" modifiers="alt"/>
<key id="key_rightcontrol" keycode="VK_RIGHT"
oncommand="
var controller = document.commandDispatcher.getControllerForCommand('cmd_wordNext');
controller.doCommand('cmd_wordNext');" modifiers="meta"/>
controller.doCommand('cmd_wordNext');" modifiers="alt"/>
<key id="key_leftshiftcontrol" keycode="VK_LEFT"
oncommand="
var controller = document.commandDispatcher.getControllerForCommand('cmd_selectWordPrevious');
controller.doCommand('cmd_selectWordPrevious');" modifiers="shift, meta"/>
controller.doCommand('cmd_selectWordPrevious');" modifiers="shift, alt"/>
<key id="key_rightshiftcontrol" keycode="VK_RIGHT"
oncommand="
var controller = document.commandDispatcher.getControllerForCommand('cmd_selectWordNext');
controller.doCommand('cmd_selectWordNext');" modifiers="shift, meta"/>
controller.doCommand('cmd_selectWordNext');" modifiers="shift, alt"/>
</keyset>
<!-- End Mac-specific key bindings -->