Files
Mozilla/mozilla/xpfe/global/resources/content/mac/platformTextAreaBindings.xul
mjudge%netscape.com ba88a6145d adding more = false lines to xul files and the XBL. bugs=25462,25730 hyatt
git-svn-id: svn://10.0.0.236/trunk@60347 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 00:53:01 +00:00

33 lines
1.2 KiB
XML

<?xml version="1.0"?>
<!-- mac version of platformTextAreaBindings.xul -->
<keybinding id="platformTextAreaBindings"
xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- Mac-specific key bindings -->
<keyset id="editorKeySet" xulkey="meta">
<!-- replace the Windows/Unix xul-Y Redo binding with xul-shift-Z -->
<key id="noWinRedo" key="y" xulkey="true" shift="false" cancel="true"/>
<key id="macRedokb" key="Z" xulkey="true" shift="true" control="false" alt="false"
onkeypress="
var controller = document.commandDispatcher.getControllerForCommand('cmd_redo');
controller.doCommand('cmd_redo');"/>
<!-- Mac bindings for home and end -->
<key id="macHomekb" keycode="VK_HOME" control="false" alt="false" shift="false"
onkeypress="
var controller = document.commandDispatcher.getControllerForCommand('cmd_scrollTop');
controller.doCommand('cmd_scrollTop');"/>
<key id="macEndkb" keycode="VK_END" control="false" alt="false" shift="false"
onkeypress="
var controller = document.commandDispatcher.getControllerForCommand('cmd_scrollBottom');
controller.doCommand('cmd_scrollBottom');"/>
</keyset>
<!-- End Mac-specific key bindings -->
</keybinding>