From c8b63ee977313fffeb3b657a3e10740b7b4cba81 Mon Sep 17 00:00:00 2001 From: Robert Krahn Date: Wed, 5 Mar 2014 15:51:55 -0800 Subject: [PATCH] isearch: recenterTopBottom --- lib/ace/commands/incremental_search_commands.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/ace/commands/incremental_search_commands.js b/lib/ace/commands/incremental_search_commands.js index 1c35a358..8ef80303 100644 --- a/lib/ace/commands/incremental_search_commands.js +++ b/lib/ace/commands/incremental_search_commands.js @@ -156,6 +156,12 @@ exports.iSearchCommands = [{ }, readOnly: true, isIncrementalSearchCommand: true +}, { + name: 'recenterTopBottom', + bindKey: 'Ctrl-l', + exec: function(iSearch) { iSearch.$editor.execCommand('recenterTopBottom'); }, + readOnly: true, + isIncrementalSearchCommand: true }]; function IncrementalSearchKeyboardHandler(iSearch) {