add Command-G to ext-searchbox fixes #1309
This commit is contained in:
parent
9c20f24a1b
commit
243e95f76e
1 changed files with 6 additions and 0 deletions
|
|
@ -134,6 +134,12 @@ var SearchBox = function(editor, range, showReplaceForm) {
|
|||
sb.replaceBox.style.display = isReplace ? "" : "none";
|
||||
sb[isReplace ? "replaceInput" : "searchInput"].focus();
|
||||
},
|
||||
"Ctrl-G|Command-G": function(sb) {
|
||||
sb.findNext();
|
||||
},
|
||||
"Ctrl-Shift-G|Command-Shift-G": function(sb) {
|
||||
sb.findPrev();
|
||||
},
|
||||
"esc": function(sb) {
|
||||
setTimeout(function() { sb.hide();});
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue