Skip to content

Commit c8b63ee

Browse files
committed
isearch: recenterTopBottom
1 parent 58404df commit c8b63ee

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

lib/ace/commands/incremental_search_commands.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,12 @@ exports.iSearchCommands = [{
156156
},
157157
readOnly: true,
158158
isIncrementalSearchCommand: true
159+
}, {
160+
name: 'recenterTopBottom',
161+
bindKey: 'Ctrl-l',
162+
exec: function(iSearch) { iSearch.$editor.execCommand('recenterTopBottom'); },
163+
readOnly: true,
164+
isIncrementalSearchCommand: true
159165
}];
160166

161167
function IncrementalSearchKeyboardHandler(iSearch) {

0 commit comments

Comments
 (0)