Remove the ALT+Z things
authorJulian Viereck <julian.viereck@gmail.com>
Sun, 09 Aug 2009 11:15:15 +0200
changeset 2688 9b66475afec0e72fcf268c5c8b259bab0d16d8e6
parent 2687 859226f622f58c62af66dee1fe0175acd3016cff
child 2689 4aef1830c6025c23c2d4e9b6ac078bda14b6534c
push id1133
push userkdangoor@mozilla.com
push dateSat, 19 Sep 2009 18:51:48 +0000
Remove the ALT+Z things
frontend/js/bespin/editor/editor.js
--- a/frontend/js/bespin/editor/editor.js
+++ b/frontend/js/bespin/editor/editor.js
@@ -939,20 +939,16 @@ dojo.declare("bespin.editor.UI", null, {
 
         // TODO: Find a way to move this into preview.js
         listener.bindKeyString("CMD", Key.B, bespin.preview.show, "Preview in Browser");
 
         listener.bindKeyString("CMD", Key.Z, this.actions.undo, "Undo");
         listener.bindKeyString("SHIFT CMD", Key.Z, this.actions.redo, "Redo");
         listener.bindKeyString("CMD", Key.Y, this.actions.redo, "Redo");
 
-//        listener.bindKeyString("ALT", Key.Z, this.actions.undoModel, "Undo");
-//        listener.bindKeyString("SHIFT ALT", Key.Z, this.actions.redoModel, "Redo");
-//        listener.bindKeyString("ALT", Key.Y, this.actions.redoModel, "Redo");
-
         listener.bindKeyStringSelectable("CMD", Key.UP_ARROW, this.actions.moveToFileTop, "Move to top of file");
         listener.bindKeyStringSelectable("CMD", Key.DOWN_ARROW, this.actions.moveToFileBottom, "Move to bottom of file");
         listener.bindKeyStringSelectable("CMD", Key.HOME, this.actions.moveToFileTop, "Move to top of file");
         listener.bindKeyStringSelectable("CMD", Key.END, this.actions.moveToFileBottom, "Move to bottom of file");
 
         listener.bindKeyStringSelectable("", Key.PAGE_UP, this.actions.movePageUp, "Move a page up");
         listener.bindKeyStringSelectable("", Key.PAGE_DOWN, this.actions.movePageDown, "Move a page down");