mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-15 04:00:34 +08:00
Adding mark/unmark all cells action.
This commit is contained in:
parent
78b1cccede
commit
7d54f07bd3
@ -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){
|
||||
|
Loading…
Reference in New Issue
Block a user