Allow selecting blanks at the start of the top line

This commit is contained in:
Kovid Goyal
2021-07-04 18:49:17 +05:30
parent 3dee3aba59
commit 05d0bda044
2 changed files with 14 additions and 2 deletions

View File

@@ -179,6 +179,12 @@ class TestMouse(BaseTest):
move(x=2, y=1)
self.ae(sel(), '123\n 456')
release()
press(x=2, y=1, button=GLFW_MOUSE_BUTTON_RIGHT)
release(x=2, y=1, button=GLFW_MOUSE_BUTTON_RIGHT)
self.ae(sel(), '123\n 456')
press(button=GLFW_MOUSE_BUTTON_RIGHT)
release(button=GLFW_MOUSE_BUTTON_RIGHT)
self.ae(sel(), ' 123\n 456')
# Rectangle select
init()