From 01ddab9597ba65fea327a27cd62a2a146674dee4 Mon Sep 17 00:00:00 2001 From: Fabian Jakobs Date: Thu, 13 May 2010 17:01:19 +0200 Subject: [PATCH] Add key bindings for Control-End and Control-Home --- src/ace/KeyBinding.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ace/KeyBinding.js b/src/ace/KeyBinding.js index fb82fca1..276c05be 100644 --- a/src/ace/KeyBinding.js +++ b/src/ace/KeyBinding.js @@ -108,7 +108,7 @@ ace.KeyBinding = function(element, editor) { this.selection.selectFileStart(); }; - this["Control-Up"] = function() { + this["Control-Home"] = this["Control-Up"] = function() { this.editor.navigateFileStart(); }; @@ -132,7 +132,7 @@ ace.KeyBinding = function(element, editor) { this.selection.selectFileEnd(); }; - this["Control-Down"] = function() { + this["Control-End"] = this["Control-Down"] = function() { this.editor.navigateFileEnd(); };