Skip to content

Commit

Permalink
Update extension to 5.x
Browse files Browse the repository at this point in the history
  • Loading branch information
Jürgen Hasch committed May 26, 2017
1 parent af6c402 commit 95d0660
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ Description: Additional hotkeys for easier navigation in the notebook
Link: readme.md
Icon: icon.png
Main: main.js
Compatibility: 4.x
Compatibility: 4.x, 5.x
Original file line number Diff line number Diff line change
Expand Up @@ -85,32 +85,6 @@ define([
cell.focus_cell();
return false;
}
},

'shift-down': {
help : 'shift down',
help_index : 'aa',
handler : function() {
var index = IPython.notebook.get_selected_index();
if (index !== (IPython.notebook.ncells()-1) && index !== null) {
IPython.notebook.extend_selection('down');
IPython.notebook.focus_cell();
}
return false;
}
},

'shift-up': {
help : 'shift down',
help_index : 'aa',
handler : function() {
var index = IPython.notebook.get_selected_index();
if (index !== 0 && index !== null) {
IPython.notebook.extend_selection('up');
IPython.notebook.focus_cell();
}
return false;
}
}

};
Expand Down

0 comments on commit 95d0660

Please sign in to comment.