… | |
… | |
688 | { |
688 | { |
689 | selection.beg.row -= count; |
689 | selection.beg.row -= count; |
690 | selection.end.row -= count; |
690 | selection.end.row -= count; |
691 | selection.mark.row -= count; |
691 | selection.mark.row -= count; |
692 | |
692 | |
693 | if (selection.beg.row < top_row |
693 | selection_check (0); |
694 | || selection.end.row < top_row |
|
|
695 | || selection.mark.row < top_row) |
|
|
696 | { |
|
|
697 | CLEAR_ALL_SELECTION (); |
|
|
698 | selection.op = SELECTION_CLEAR; |
|
|
699 | } |
|
|
700 | } |
694 | } |
701 | |
695 | |
702 | // finally move the view window, if desired |
696 | // finally move the view window, if desired |
703 | if (option (Opt_scrollWithBuffer) |
697 | if (option (Opt_scrollWithBuffer) |
704 | && view_start != 0 |
698 | && view_start != 0 |