From 7add8d373185a6b20aeeb8c30adb9acc68de66ec Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 16 May 2022 15:27:46 +0100 Subject: patch 8.2.4965: GUI: testing mouse move event depends on screen cell size Problem: GUI: testing mouse move event depends on screen cell size. Solution: Multiply the row and column with the screen cell size. --- runtime/doc/testing.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'runtime') 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 -- cgit v1.2.3