mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 9.0.0135: comment about tabpage line above the wrong code
Problem: Comment about tabpage line above the wrong code. Solution: Move the comment. (closes #10836)
This commit is contained in:
@@ -735,6 +735,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
135,
|
||||||
/**/
|
/**/
|
||||||
134,
|
134,
|
||||||
/**/
|
/**/
|
||||||
|
@@ -4324,10 +4324,8 @@ enter_tabpage(
|
|||||||
diff_need_scrollbind = TRUE;
|
diff_need_scrollbind = TRUE;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// The tabpage line may have appeared or disappeared, may need to resize
|
// Use the stored value of p_ch, so that it can be different for each tab
|
||||||
// the frames for that. When the Vim window was resized need to update
|
// page.
|
||||||
// frame sizes too. Use the stored value of p_ch, so that it can be
|
|
||||||
// different for each tab page.
|
|
||||||
if (p_ch != curtab->tp_ch_used)
|
if (p_ch != curtab->tp_ch_used)
|
||||||
clear_cmdline = TRUE;
|
clear_cmdline = TRUE;
|
||||||
p_ch = curtab->tp_ch_used;
|
p_ch = curtab->tp_ch_used;
|
||||||
@@ -4338,6 +4336,9 @@ enter_tabpage(
|
|||||||
if ((row < cmdline_row) && (cmdline_row <= Rows - p_ch))
|
if ((row < cmdline_row) && (cmdline_row <= Rows - p_ch))
|
||||||
clear_cmdline = TRUE;
|
clear_cmdline = TRUE;
|
||||||
|
|
||||||
|
// The tabpage line may have appeared or disappeared, may need to resize
|
||||||
|
// the frames for that. When the Vim window was resized need to update
|
||||||
|
// frame sizes too.
|
||||||
if (curtab->tp_old_Rows != Rows || (old_off != firstwin->w_winrow
|
if (curtab->tp_old_Rows != Rows || (old_off != firstwin->w_winrow
|
||||||
#ifdef FEAT_GUI_TABLINE
|
#ifdef FEAT_GUI_TABLINE
|
||||||
&& !gui_use_tabline()
|
&& !gui_use_tabline()
|
||||||
|
Reference in New Issue
Block a user