move
This commit is contained in:
parent
8f823bf430
commit
fa5bf1218a
|
@ -193,10 +193,10 @@ function test_select_text_using_mouse()
|
|||
App.run_after_mousepress(screen_left_margin+8,Margin_top+5, '1')
|
||||
-- drag and release somewhere else
|
||||
App.run_after_mouserelease(screen_left_margin+20,Margin_top+Line_height+5, '1')
|
||||
check_eq(Cursor1.line, 2, 'F - test_select_text_using_mouse/cursor:line')
|
||||
check_eq(Cursor1.pos, 4, 'F - test_select_text_using_mouse/cursor:pos')
|
||||
check_eq(Selection1.line, 1, 'F - test_select_text_using_mouse/selection:line')
|
||||
check_eq(Selection1.pos, 2, 'F - test_select_text_using_mouse/selection:pos')
|
||||
check_eq(Cursor1.line, 2, 'F - test_select_text_using_mouse/cursor:line')
|
||||
check_eq(Cursor1.pos, 4, 'F - test_select_text_using_mouse/cursor:pos')
|
||||
end
|
||||
|
||||
function test_select_text_using_mouse_and_shift()
|
||||
|
@ -218,10 +218,10 @@ function test_select_text_using_mouse_and_shift()
|
|||
App.run_after_mousepress(screen_left_margin+20,Margin_top+5, '1')
|
||||
App.run_after_mouserelease(screen_left_margin+20,Margin_top+Line_height+5, '1')
|
||||
App.keyrelease('lshift')
|
||||
check_eq(Cursor1.line, 2, 'F - test_select_text_using_mouse_and_shift/cursor:line')
|
||||
check_eq(Cursor1.pos, 4, 'F - test_select_text_using_mouse_and_shift/cursor:pos')
|
||||
check_eq(Selection1.line, 1, 'F - test_select_text_using_mouse_and_shift/selection:line')
|
||||
check_eq(Selection1.pos, 2, 'F - test_select_text_using_mouse_and_shift/selection:pos')
|
||||
check_eq(Cursor1.line, 2, 'F - test_select_text_using_mouse_and_shift/cursor:line')
|
||||
check_eq(Cursor1.pos, 4, 'F - test_select_text_using_mouse_and_shift/cursor:pos')
|
||||
end
|
||||
|
||||
function test_pagedown()
|
||||
|
|
Loading…
Reference in New Issue
Block a user