Patch 9.0.0135

7 views
Skip to first unread message

Bram Moolenaar

unread,
Aug 2, 2022, 7:16:58 AM8/2/22
to vim...@googlegroups.com

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 -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages