Patch 8.1.1810
Problem: Popup_getoptions() is missing an entry for "mapping".
Solution: Add the entry.
Files: src/popupwin.c, src/testdir/test_popupwin.vim
*** ../vim-8.1.1809/src/popupwin.c 2019-08-03 18:17:07.684638594 +0200
--- src/popupwin.c 2019-08-04 17:57:21.561521238 +0200
***************
*** 2319,2324 ****
--- 2319,2325 ----
dict_add_string(dict, "title", wp->w_popup_title);
dict_add_number(dict, "wrap", wp->w_p_wrap);
dict_add_number(dict, "drag", (wp->w_popup_flags & POPF_DRAG) != 0);
+ dict_add_number(dict, "mapping", (wp->w_popup_flags & POPF_MAPPING) !=
0);
dict_add_number(dict, "resize", (wp->w_popup_flags & POPF_RESIZE) != 0);
dict_add_number(dict, "cursorline",
(wp->w_popup_flags & POPF_CURSORLINE) != 0);
*** ../vim-8.1.1809/src/testdir/test_popupwin.vim 2019-08-03
16:18:03.429654593 +0200
--- src/testdir/test_popupwin.vim 2019-08-04 17:58:43.697129290 +0200
***************
*** 946,951 ****
--- 946,952 ----
call assert_equal(21, res.maxheight)
call assert_equal(100, res.zindex)
call assert_equal(1, res.fixed)
+ call assert_equal(1, res.mapping)
if has('timers')
call assert_equal(5000, res.time)
endif
*** ../vim-8.1.1809/src/version.c 2019-08-04 17:35:49.331707782 +0200
--- src/version.c 2019-08-04 17:59:11.296997575 +0200
***************
*** 775,776 ****
--- 775,778 ----
{ /* Add new patch number below this line */
+ /**/
+ 1810,
/**/
--
Don't Panic!
-- The Hitchhiker's Guide to the Galaxy
/// 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/201908041600.x74G0aDk008642%40masaka.moolenaar.net.