0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 8.0.1123: cannot define a toolbar for a window

Problem:    Cannot define a toolbar for a window.
Solution:   Add a window-local toolbar.
This commit is contained in:
Bram Moolenaar
2017-09-17 23:03:31 +02:00
parent dde403c2d8
commit 1b9645de3c
20 changed files with 679 additions and 238 deletions

View File

@@ -4692,6 +4692,10 @@ win_free(
}
#endif /* FEAT_GUI */
#ifdef FEAT_MENU
remove_winbar(wp);
#endif
#ifdef FEAT_SYN_HL
vim_free(wp->w_p_cc_cols);
#endif
@@ -5667,6 +5671,7 @@ set_fraction(win_T *wp)
/*
* Set the height of a window.
* "height" excludes any window toolbar.
* This takes care of the things inside the window, not what happens to the
* window position, the frame or to other windows.
*/