Mercurial > vim
diff runtime/doc/popup.txt @ 20386:3b3589275ab9 v8.2.0748
patch 8.2.0748: cannot get a list of all popups
Commit: https://github.com/vim/vim/commit/ef6b979bfae82f64781d8b0ce0194c57111243d4
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed May 13 16:34:15 2020 +0200
patch 8.2.0748: cannot get a list of all popups
Problem: Cannot get a list of all popups.
Solution: Add popup_list(). Use it in the test runner.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 13 May 2020 16:45:05 +0200 |
parents | 42ab4d40e78f |
children | 3fe45aa3bbc5 |
line wrap: on
line diff
--- a/runtime/doc/popup.txt +++ b/runtime/doc/popup.txt @@ -198,6 +198,7 @@ Other: |popup_getoptions()| get current options for a popup |popup_getpos()| get actual position and size of a popup |popup_locate()| find popup window at a screen position + |popup_list()| get list of all popups DETAILS *popup-function-details* @@ -423,6 +424,10 @@ popup_hide({id}) *popup_hide()* Can also be used as a |method|: > GetPopup()->popup_hide() +popup_list() *popup_list()* + Return a List with the |window-ID| of all existing popups. + + popup_locate({row}, {col}) *popup_locate()* Return the |window-ID| of the popup at screen position {row} and {col}. If there are multiple popups the one with the