From b38222c995575c0f3ae95749c3495dc2ac4193ef Mon Sep 17 00:00:00 2001 From: Fabian Jakobs Date: Thu, 23 Sep 2010 13:49:10 +0200 Subject: [PATCH] key binding fixes --- src/ace/KeyBinding.js | 2 +- src/ace/conf/keybindings/default_mac.js | 3 +-- src/ace/conf/keybindings/default_win.js | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/ace/KeyBinding.js b/src/ace/KeyBinding.js index 2c3e3aef..808f69cd 100644 --- a/src/ace/KeyBinding.js +++ b/src/ace/KeyBinding.js @@ -51,7 +51,7 @@ var KeyBinding = function(element, editor, config) { "39" : "Right", "40" : "Down", "45" : "Insert", - "46" : "Del", + "46" : "Delete", "107": "+", "112": "F1", "113": "F2", diff --git a/src/ace/conf/keybindings/default_mac.js b/src/ace/conf/keybindings/default_mac.js index 4ee84e95..5036b19e 100644 --- a/src/ace/conf/keybindings/default_mac.js +++ b/src/ace/conf/keybindings/default_mac.js @@ -16,8 +16,7 @@ return { "findprevious": "Meta-Shift-K", "find": "Meta-F", "undo": "Meta-Z", - "redo": "Meta-Shift=Z", - "redo": "Meta-Y", + "redo": "Meta-Shift-Z|Meta-Y", "overwrite": "Insert", "copylinesup": "Meta-Alt-Up", "movelinesup": "Alt-Up", diff --git a/src/ace/conf/keybindings/default_win.js b/src/ace/conf/keybindings/default_win.js index 7cbf6a2c..52d829f6 100644 --- a/src/ace/conf/keybindings/default_win.js +++ b/src/ace/conf/keybindings/default_win.js @@ -16,8 +16,7 @@ return { "findprevious": "Control-Shift-K", "find": "Control-F", "undo": "Control-Z", - "redo": "Control-Shift=Z", - "redo": "Control-Y", + "redo": "Control-Shift-Z|Control-Y", "overwrite": "Insert", "copylinesup": "Control-Alt-Up", "movelinesup": "Alt-Up",