Adding mark/unmark all cells action.

This commit is contained in:
Brian E. Granger 2015-10-19 18:05:37 -04:00
parent 78b1cccede
commit 7d54f07bd3

View File

@ -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){