Mercurial > vim
comparison src/proto/window.pro @ 14057:be8fb2fd51fc v8.1.0046
patch 8.1.0046: loading a session file fails if 'winheight' is big
commit https://github.com/vim/vim/commit/1c3c10492a291270fa89b3c8df11828792f927d3
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jun 12 16:49:30 2018 +0200
patch 8.1.0046: loading a session file fails if 'winheight' is big
Problem: Loading a session file fails if 'winheight' is a big number.
Solution: Set 'minwinheight' to zero at first. Don't give an error when
setting 'minwinheight' while 'winheight' is a big number.
Fix using vertical splits. Fix setting 'minwinwidth'.
(closes #2970)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 12 Jun 2018 17:00:07 +0200 |
parents | 1174611ad715 |
children | d33220d3bc27 |
comparison
equal
deleted
inserted
replaced
14056:e16c59ce44e2 | 14057:be8fb2fd51fc |
---|---|
52 void win_setheight(int height); | 52 void win_setheight(int height); |
53 void win_setheight_win(int height, win_T *win); | 53 void win_setheight_win(int height, win_T *win); |
54 void win_setwidth(int width); | 54 void win_setwidth(int width); |
55 void win_setwidth_win(int width, win_T *wp); | 55 void win_setwidth_win(int width, win_T *wp); |
56 void win_setminheight(void); | 56 void win_setminheight(void); |
57 void win_setminwidth(void); | |
57 void win_drag_status_line(win_T *dragwin, int offset); | 58 void win_drag_status_line(win_T *dragwin, int offset); |
58 void win_drag_vsep_line(win_T *dragwin, int offset); | 59 void win_drag_vsep_line(win_T *dragwin, int offset); |
59 void set_fraction(win_T *wp); | 60 void set_fraction(win_T *wp); |
60 void win_new_height(win_T *wp, int height); | 61 void win_new_height(win_T *wp, int height); |
61 void scroll_to_fraction(win_T *wp, int prev_height); | 62 void scroll_to_fraction(win_T *wp, int prev_height); |