Patch 9.0.0135
Problem: Comment about tabpage line above the wrong code.
Solution: Move the comment. (closes #10836)
Files: src/window.c
*** ../vim-9.0.0134/src/window.c 2022-07-31 18:34:28.242324297 +0100
--- src/window.c 2022-08-02 12:13:59.792800180 +0100
***************
*** 4324,4333 ****
diff_need_scrollbind = TRUE;
#endif
! // 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. Use the stored value of p_ch, so that it can be
! // different for each tab page.
if (p_ch != curtab->tp_ch_used)
clear_cmdline = TRUE;
p_ch = curtab->tp_ch_used;
--- 4324,4331 ----
diff_need_scrollbind = TRUE;
#endif
! // Use the stored value of p_ch, so that it can be different for each tab
! // page.
if (p_ch != curtab->tp_ch_used)
clear_cmdline = TRUE;
p_ch = curtab->tp_ch_used;
***************
*** 4338,4343 ****
--- 4336,4344 ----
if ((row < cmdline_row) && (cmdline_row <= Rows - p_ch))
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
#ifdef FEAT_GUI_TABLINE
&& !gui_use_tabline()
*** ../vim-9.0.0134/src/version.c 2022-08-02 11:48:48.295757318 +0100
--- src/version.c 2022-08-02 12:15:01.476684340 +0100
***************
*** 737,738 ****
--- 737,740 ----
{ /* Add new patch number below this line */
+ /**/
+ 135,
/**/
--
hundred-and-one symptoms of being an internet addict:
230. You spend your Friday nights typing away at your keyboard
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20220802111644.B33BE1C0E80%40moolenaar.net.