diff runtime/doc/popup.txt @ 17545:1e45331bd2ab v8.1.1770

patch 8.1.1770: cannot get the window ID of the popup preview window commit https://github.com/vim/vim/commit/56c0c4749d58e9331b212c38df46e2993d5d97c1 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jul 28 17:57:43 2019 +0200 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().
author Bram Moolenaar <Bram@vim.org>
date Sun, 28 Jul 2019 18:00:05 +0200
parents ca8e754bdd53
children 2704c4e3e20a
line wrap: on
line diff
--- a/runtime/doc/popup.txt
+++ b/runtime/doc/popup.txt
@@ -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