|
|
|
|
@ -107,7 +107,6 @@ define(function(require){
|
|
|
|
|
var index = env.notebook.get_selected_index();
|
|
|
|
|
env.notebook.cut_cell();
|
|
|
|
|
env.notebook.select(index);
|
|
|
|
|
env.notebook.focus_cell();
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
'copy-selected-cell' : {
|
|
|
|
|
@ -115,7 +114,6 @@ define(function(require){
|
|
|
|
|
help_index : 'ef',
|
|
|
|
|
handler : function (env) {
|
|
|
|
|
env.notebook.copy_cell();
|
|
|
|
|
env.notebook.focus_cell();
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
'paste-cell-before' : {
|
|
|
|
|
@ -268,7 +266,6 @@ define(function(require){
|
|
|
|
|
help_index : 'ha',
|
|
|
|
|
handler : function (env) {
|
|
|
|
|
env.notebook.kernel.interrupt();
|
|
|
|
|
env.notebook.focus_cell();
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
'restart-kernel':{
|
|
|
|
|
@ -276,7 +273,6 @@ define(function(require){
|
|
|
|
|
help_index : 'hb',
|
|
|
|
|
handler : function (env) {
|
|
|
|
|
env.notebook.restart_kernel();
|
|
|
|
|
env.notebook.focus_cell();
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
'undo-last-cell-deletion' : {
|
|
|
|
|
@ -381,7 +377,6 @@ define(function(require){
|
|
|
|
|
if(event){
|
|
|
|
|
event.preventDefault();
|
|
|
|
|
}
|
|
|
|
|
env.notebook.ensure_focused();
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|