change window scroll behaviour when swapping line with selection

Jan Löfberg 8 years ago updated 8 years ago 0
When swapping lines with multiple rows of text selected, the window starts to scroll when the caret position hits top/bottom of window. 

It would be nice if the end position of the selection was "pushing" the scroll, with a few lines spacing in the direction of line_swap. 

This would give a "heads up" or "look ahead" behavior that would prevent the user from swapping the selection too many lines, ending up having to go back a few lines to get the selection to where it's supposed to be.