summaryrefslogtreecommitdiffstats
path: root/runtime/doc/popup.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-05-13 16:34:15 +0200
committerBram Moolenaar <Bram@vim.org>2020-05-13 16:34:15 +0200
commitef6b979bfae82f64781d8b0ce0194c57111243d4 (patch)
treeb7f9acb63a9f7ca7fa4881d511ccb7b58ba24053 /runtime/doc/popup.txt
parent03a9f848175b182372fb33403998059724a8bf31 (diff)
patch 8.2.0748: cannot get a list of all popupsv8.2.0748
Problem: Cannot get a list of all popups. Solution: Add popup_list(). Use it in the test runner.
Diffstat (limited to 'runtime/doc/popup.txt')
-rw-r--r--runtime/doc/popup.txt5
1 files changed, 5 insertions, 0 deletions
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