This commit is contained in:
Kovid Goyal
2021-09-27 17:29:22 +05:30
parent cc261db606
commit c71d8fe1cc
2 changed files with 16 additions and 1 deletions

View File

@@ -155,6 +155,20 @@ class TestMouse(BaseTest):
move(0.2)
release()
self.ae(sel(), 'ab cd')
multi_click(x=4.4)
self.ae(sel(), 'cd')
move(x=4.4, y=1)
self.ae(sel(), 'cd f gh')
move(x=4.4, y=0)
self.ae(sel(), 'cd')
release()
multi_click(x=4.4, y=1)
self.ae(sel(), 'gh')
move(x=4.4, y=0)
self.ae(sel(), 'cd f gh')
move(x=4.4, y=1)
self.ae(sel(), 'gh')
release()
# Line select with drag
s.reset()