Mercurial > vim
diff src/proto/window.pro @ 9875:42adbf172ecd v7.4.2212
commit https://github.com/vim/vim/commit/e59215c7dcae17b03daf39517560cfaa03314f5a
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 14 19:08:45 2016 +0200
patch 7.4.2212
Problem: Mark " is not set when closing a window in another tab. (Guraga)
Solution: Check all tabs for the window to be valid. (based on patch by
Hirohito Higashi, closes https://github.com/vim/vim/issues/974)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 14 Aug 2016 19:15:05 +0200 |
parents | 3e96d9ed2ca1 |
children | 942d40a92be6 |
line wrap: on
line diff
--- a/src/proto/window.pro +++ b/src/proto/window.pro @@ -4,6 +4,7 @@ void get_wincmd_addr_type(char_u *arg, e int win_split(int size, int flags); int win_split_ins(int size, int flags, win_T *new_wp, int dir); int win_valid(win_T *win); +int win_valid_any_tab(win_T *win); int win_count(void); int make_windows(int count, int vertical); void win_move_after(win_T *win1, win_T *win2);