scrolling: don't redraw entire edit window when cursor goes offscreen
When the cursor is on the top or bottom line of the edit window, and an <Up> or <Down> pushes the cursor offscreen, then use edit_scroll() to bring it back into view, instead of using edit_redraw(), because the latter would redraw *every row* on the screen, which is a waste of time. This addresses https://savannah.gnu.org/bugs/?53562 . Reported-by:Devin Hussey <husseydevin@gmail.com>
Showing
+8 -2
Please register or sign in to comment