mirror of
https://github.com/jupyter/notebook.git
synced 2025-03-07 13:07:22 +08:00
Rename execute_cell to execute_marked_cells
This commit is contained in:
parent
ac02e2259f
commit
f4913bdcd1
@ -107,10 +107,10 @@ define(function(require){
|
||||
}
|
||||
},
|
||||
'run-cell':{
|
||||
help : 'run cell',
|
||||
help : 'run marked cells',
|
||||
help_index : 'bb',
|
||||
handler : function (env) {
|
||||
env.notebook.execute_cell();
|
||||
env.notebook.execute_marked_cells();
|
||||
}
|
||||
},
|
||||
'run-cell-and-insert-below':{
|
||||
|
@ -2001,7 +2001,7 @@ define(function (require) {
|
||||
/**
|
||||
* Execute or render cell outputs and go into command mode.
|
||||
*/
|
||||
Notebook.prototype.execute_cell = function () {
|
||||
Notebook.prototype.execute_marked_cells = function () {
|
||||
this.execute_cells(this.get_marked_indices());
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user