|
|
|
|
@ -227,9 +227,6 @@ define([
|
|
|
|
|
help : 'select previous cell',
|
|
|
|
|
help_index : 'da',
|
|
|
|
|
handler : function (event) {
|
|
|
|
|
if(event.codemirrorIgnore===true){
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
var index = that.notebook.get_selected_index();
|
|
|
|
|
if (index !== 0 && index !== null) {
|
|
|
|
|
that.notebook.select_prev();
|
|
|
|
|
@ -242,9 +239,6 @@ define([
|
|
|
|
|
help : 'select next cell',
|
|
|
|
|
help_index : 'db',
|
|
|
|
|
handler : function (event) {
|
|
|
|
|
if(event.codemirrorIgnore===true){
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
var index = that.notebook.get_selected_index();
|
|
|
|
|
if (index !== (that.notebook.ncells()-1) && index !== null) {
|
|
|
|
|
that.notebook.select_next();
|
|
|
|
|
|