Ensure focus is kept when extending the marked region

Jessica B. Hamrick 10 years ago
parent 4578c34b0f
commit b0dc933d78

@ -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