diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-05-16 15:27:46 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-05-16 15:27:46 +0100 |
commit | 7add8d373185a6b20aeeb8c30adb9acc68de66ec (patch) | |
tree | 0c334ef25ebe071a145db46d90b83485abba636d /runtime | |
parent | 3b675c276c71472022b684b7b1dec213824d3104 (diff) |
patch 8.2.4965: GUI: testing mouse move event depends on screen cell sizev8.2.4965
Problem: GUI: testing mouse move event depends on screen cell size.
Solution: Multiply the row and column with the screen cell size.
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/testing.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/doc/testing.txt b/runtime/doc/testing.txt index f2f04a2aec..0601cb9c80 100644 --- a/runtime/doc/testing.txt +++ b/runtime/doc/testing.txt @@ -154,9 +154,12 @@ test_gui_event({event}, {args}) move: Optional; if used and TRUE then a mouse move event can be generated. Only {args} row: and col: are used and - required; they are interpreted as pixels. + required; they are interpreted as pixels or + screen cells, depending on "cell". Only results in an event when 'mousemoveevent' is set or a popup uses mouse move events. + cell: Optional: when present and TRUE then "move" + uses screen cells instead of pixel positions "scrollbar": Set or drag the left, right or horizontal scrollbar. Only |