From 5e07c2bca42f8f1df4fd1e2090b712fe4d08ff94 Mon Sep 17 00:00:00 2001 From: Safia Abdalla Date: Wed, 16 Sep 2015 16:21:50 -0700 Subject: [PATCH] Added action.call for search and replace --- notebook/static/notebook/js/notebook.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/notebook/static/notebook/js/notebook.js b/notebook/static/notebook/js/notebook.js index 22d2a5eb1..3ad900886 100644 --- a/notebook/static/notebook/js/notebook.js +++ b/notebook/static/notebook/js/notebook.js @@ -325,6 +325,11 @@ define(function (require) { var x = new commandpalette.CommandPalette(this); }; + Notebook.prototype.show_search_and_replace = function(event) { + var kbd = this.keyboard_manager; + kbd.actions.call('ipython.search-and-replace-dialog', event, kbd); + } + /** * Trigger a warning dialog about missing functionality from newer minor versions */