diff --git a/lib/ace/ext/searchbox.js b/lib/ace/ext/searchbox.js index 8efd08a7..976191b0 100644 --- a/lib/ace/ext/searchbox.js +++ b/lib/ace/ext/searchbox.js @@ -177,7 +177,7 @@ var SearchBox = function(editor, range, showReplaceForm) { this.hide = function () { this.element.style.display = "none"; - this.editor.keyBinding.removeKeyboardHandler(this.$searchKeybingin); + this.editor.keyBinding.removeKeyboardHandler(this.$closeSearchBarKb); this.editor.focus(); }; this.show = function(value, isReplace) { @@ -255,4 +255,4 @@ exports.ISearch = function(session, options) { - includ all options that search has. ex: regex - searchbox.searchbox is not that pretty. we should have just searchbox - disable prev button if it makes sence -*/ \ No newline at end of file +*/