From ef6b979bfae82f64781d8b0ce0194c57111243d4 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 13 May 2020 16:34:15 +0200 Subject: 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. --- runtime/doc/popup.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'runtime/doc/popup.txt') diff --git a/runtime/doc/popup.txt b/runtime/doc/popup.txt index d0bf2c4f28..5950c4753d 100644 --- 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 -- cgit v1.2.3