patch 8.1.1770: cannot get the window ID of the popup preview window

Problem:    Cannot get the window ID of the popup preview window.
Solution:   Add popup_getpreview().
This commit is contained in:
Bram Moolenaar
2019-07-28 17:57:43 +02:00
parent ac3150d385
commit 56c0c4749d
7 changed files with 33 additions and 2 deletions
+5 -1
View File
@@ -1,4 +1,4 @@
*popup.txt* For Vim version 8.1. Last change: 2019 Jul 18
*popup.txt* For Vim version 8.1. Last change: 2019 Jul 28
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -335,6 +335,10 @@ popup_getpos({id}) *popup_getpos()*
If popup window {id} is not found an empty Dict is returned.
popup_getpreview() *popup_getpreview()*
Get the |window-ID| for the popup preview window.
Return zero if there is none.
popup_hide({id}) *popup_hide()*
If {id} is a displayed popup, hide it now. If the popup has a