From 7d54f07bd3db4e33c3ceed0ee3c1d9e5c4c6f29c Mon Sep 17 00:00:00 2001 From: "Brian E. Granger" Date: Mon, 19 Oct 2015 18:05:37 -0400 Subject: [PATCH] Adding mark/unmark all cells action. --- notebook/static/notebook/js/actions.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/notebook/static/notebook/js/actions.js b/notebook/static/notebook/js/actions.js index 51711b7f0..ca1b2761b 100644 --- a/notebook/static/notebook/js/actions.js +++ b/notebook/static/notebook/js/actions.js @@ -409,6 +409,20 @@ define(function(require){ env.notebook.get_selected_cell().marked ^= true; } }, + 'unmark-all-cells': { + help_index : 'ck', + help : 'unmark all cells', + handler : function(env) { + env.notebook.unmark_all_cells(); + } + }, + 'mark-all-cells': { + help_index : 'cl', + help : 'mark all cells', + handler : function(env) { + env.notebook.mark_all_cells(); + } + }, 'toggle-toolbar':{ help: 'hide/show the toolbar', handler : function(env){