Merge pull request #682 from jhamrick/scroll-when-marking

Ensure focus is kept when extending the marked region
Min RK 10 years ago
commit c0845d0e78

@ -728,6 +728,8 @@ define(function (require) {
var selectedIndex = Math.min(Math.max(this.get_selected_index() + offset, 0), this.ncells()-1);
this.select(selectedIndex);
this.get_selected_cell().marked = true;
this.ensure_focused();
};
// Cell selection.

Loading…
Cancel
Save