Patch 8.2.5144
Problem: With 'lazyredraw' set completion menu may be displayed wrong.
Solution: When the popup menu is visible do not insert a screen line.
(closes #106010)
Files: src/screen.c
*** ../vim-8.2.5143/src/screen.c 2022-06-09 13:55:23.171025955 +0100
--- src/screen.c 2022-06-21 17:55:35.744242876 +0100
***************
*** 3395,3403 ****
--- 3395,3408 ----
if (invalid)
wp->w_lines_valid = 0;
+ // with only a few lines it's not worth the effort
if (wp->w_height < 5)
return FAIL;
+ // with the popup menu visible this might not work correctly
+ if (pum_visible())
+ return FAIL;
+
if (line_count > wp->w_height - row)
line_count = wp->w_height - row;
*** ../vim-8.2.5143/src/version.c 2022-06-21 17:40:43.824707673 +0100
--- src/version.c 2022-06-21 18:10:10.955889421 +0100
***************
*** 736,737 ****
--- 736,739 ----
{ /* Add new patch number below this line */
+ /**/
+ 5144,
/**/
--
Are leaders born or made? And if they're made, can we return them under
warranty?
(Scott Adams - The Dilbert principle)
/// 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 ///