diff options
author | Yegappan Lakshmanan <yegappan@yahoo.com> | 2022-07-23 05:04:16 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-07-23 05:04:16 +0100 |
commit | 81a3ff97e2012bdafc3ece796289f2e11e2754f3 (patch) | |
tree | 15226ff00df55bc1927e6ab0bed077e703314be9 /runtime | |
parent | 5154a8880034b7bb94186d37bcecc6ee1a96f732 (diff) |
patch 9.0.0058: Win32: cannot test low level eventsv9.0.0058
Problem: Win32: cannot test low level events.
Solution: Add "sendevent" to test_gui_event(). (Yegappan Lakshmanan,
closes #10679)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/testing.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/runtime/doc/testing.txt b/runtime/doc/testing.txt index 6998a6edc2..7e8e8b9cc0 100644 --- a/runtime/doc/testing.txt +++ b/runtime/doc/testing.txt @@ -94,6 +94,7 @@ test_gui_event({event}, {args}) "findrepl" search and replace text. "mouse" mouse button click event. "scrollbar" move or drag the scrollbar. + "sendevent" send a low-level GUI event. "tabline" select a tab page by mouse click. "tabmenu" select a tabline menu entry. @@ -177,6 +178,15 @@ test_gui_event({event}, {args}) dragging: 1 to drag the scrollbar and 0 to click in the scrollbar. + "sendevent": + Send a low-level GUI event (e.g. key-up or down). + Currently only supported on MS-Windows. + The supported items in {args} are: + event: The supported string values are: + keyup generate a keyup event + keydown generate a keydown event + keycode: Keycode to use for a keyup or a keydown event. + "tabline": Inject a mouse click event on the tabline to select a tabpage. The supported items in {args} are: |