diff src/proto/window.pro @ 10013:942d40a92be6 v7.4.2279

commit https://github.com/vim/vim/commit/46328f9a1cc8047d1e05095bc9f531038c5a4028 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Aug 28 15:39:57 2016 +0200 patch 7.4.2279 Problem: Starting diff mode with the cursor in the last line might end up only showing one closed fold. (John Beckett) Solution: Scroll the window to show the same relative cursor position.
author Christian Brabandt <cb@256bit.org>
date Sun, 28 Aug 2016 15:45:05 +0200
parents 42adbf172ecd
children e08ead1d269f
line wrap: on
line diff
--- a/src/proto/window.pro
+++ b/src/proto/window.pro
@@ -56,6 +56,7 @@ void win_drag_status_line(win_T *dragwin
 void win_drag_vsep_line(win_T *dragwin, int offset);
 void set_fraction(win_T *wp);
 void win_new_height(win_T *wp, int height);
+void scroll_to_fraction(win_T *wp, int prev_height);
 void win_new_width(win_T *wp, int width);
 void win_comp_scroll(win_T *wp);
 void command_height(void);