diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-08-28 15:39:57 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-08-28 15:39:57 +0200 |
commit | 46328f9a1cc8047d1e05095bc9f531038c5a4028 (patch) | |
tree | 6c304ad0ec0fdaafa7e4e490681a959f36ad46f2 /src/proto/window.pro | |
parent | 4427db9bb2f4b4587559eac18cc7ba10c52c6e8b (diff) | |
download | vim-git-46328f9a1cc8047d1e05095bc9f531038c5a4028.tar.gz |
patch 7.4.2279v7.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.
Diffstat (limited to 'src/proto/window.pro')
-rw-r--r-- | src/proto/window.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/window.pro b/src/proto/window.pro index d82988e30..8b649dbf1 100644 --- a/src/proto/window.pro +++ b/src/proto/window.pro @@ -56,6 +56,7 @@ void win_drag_status_line(win_T *dragwin, int offset); 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); |