Patch 8.2.2123
Problem: After using a complete popup the buffer is listed. (Boris
Staletic)
Solution: Make the buffer unlisted.
Files: src/popupmenu.c, src/testdir/test_popupwin.vim
*** ../vim-8.2.2122/src/popupmenu.c 2020-11-16 19:11:44.807527909 +0100
--- src/popupmenu.c 2020-12-09 18:13:11.993773813 +0100
***************
*** 858,863 ****
--- 858,864 ----
// Edit a new, empty buffer. Set options for a "wipeout"
// buffer.
set_option_value((char_u *)"swf", 0L, NULL, OPT_LOCAL);
+ set_option_value((char_u *)"bl", 0L, NULL, OPT_LOCAL);
set_option_value((char_u *)"bt", 0L,
(char_u *)"nofile", OPT_LOCAL);
set_option_value((char_u *)"bh", 0L,
*** ../vim-8.2.2122/src/testdir/test_popupwin.vim 2020-12-02
17:36:49.177409727 +0100
--- src/testdir/test_popupwin.vim 2020-12-09 18:12:34.121897266 +0100
***************
*** 3215,3220 ****
--- 3215,3223 ----
call setline(1, 'text text text text text text text ')
func ChangeColor()
let id = popup_findinfo()
+ if buflisted(winbufnr(id))
+ call setline(1, 'buffer is listed')
+ endif
eval id->popup_setoptions(#{highlight: 'InfoPopup'})
endfunc
*** ../vim-8.2.2122/src/version.c 2020-12-09 17:16:46.708470428 +0100
--- src/version.c 2020-12-09 17:49:47.066262411 +0100
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2123,
/**/
--
"Software is like sex... it's better when it's free."
-- Linus Torvalds, initiator of the free Linux OS
Makes me wonder what FSF stands for...?
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ 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/202012091714.0B9HEcP51973502%40masaka.moolenaar.net.