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UNH4H3IFAC
CE4LZV4TNXJT54CVGM3QANCBP42TMLMZWF2DBSMUYKAHILXIZEMQC
check_eq(Editor_state.cursor1.line, 1, 'F - test_move_cursor_using_mouse/cursor:line')
check_eq(Editor_state.cursor1.pos, 2, 'F - test_move_cursor_using_mouse/cursor:pos')
check_nil(Editor_state.selection1.line, 'F - test_move_cursor_using_mouse/selection:line')
check_nil(Editor_state.selection1.pos, 'F - test_move_cursor_using_mouse/selection:pos')
check(Editor_state.selection1.line, 'check')
check_eq(App.clipboard, 'a', 'clipboard')
check_eq(Editor_state.lines[1].data, 'bc', 'data')
check_eq(Editor_state.lines[1].data, 'xyzdef', 'check')
App.screen.check(y, 'def', 'baseline/screen:1')
App.screen.check(y, 'ghi', 'baseline/screen:2')
App.screen.check(y, 'jkl', 'baseline/screen:3')
check_eq(Editor_state.screen_top1.line, 1, 'check')
check_eq(Editor_state.lines[1].data, 'ahi', 'data')
App.screen.check(y, 'abc', 'screen:1')
App.screen.check(y, 'de', 'screen:2')
App.screen.check(y, 'fg', 'screen:3')
App.screen.check(y, 'abc', 'baseline/screen:1')
App.screen.check(y, 'def', 'baseline/screen:2')
App.screen.check(y, 'ghi', 'baseline/screen:3')
check_eq(Editor_state.screen_top1.line, 1, 'screen_top')
check_eq(Editor_state.cursor1.line, 2, 'cursor:line')
check_eq(Editor_state.cursor1.pos, 1, 'cursor:pos')
App.screen.check(y, 'a', 'screen:1')
App.screen.check(y, 'bc', 'screen:2')
App.screen.check(y, 'def', 'screen:3')
check_eq(Editor_state.cursor1.line, 1, 'cursor:line')
check_eq(Editor_state.cursor1.pos, 2, 'cursor:pos')
check_nil(Editor_state.selection1.line, 'selection:line')
check_nil(Editor_state.selection1.pos, 'selection:pos')
check_eq(Editor_state.cursor1.line, 2, 'cursor:line')
check_eq(Editor_state.cursor1.pos, 1, 'cursor:pos')
check_eq(Editor_state.lines[1].data, '', 'data:1')
check_eq(Editor_state.lines[2].data, 'abc', 'data:2')
App.screen.check(y, 'abc', 'baseline/screen:1')
App.screen.check(y, 'def', 'baseline/screen:2')
App.screen.check(y, 'ghi', 'baseline/screen:3')
check_eq(Editor_state.screen_top1.line, 1, 'screen_top')
check_eq(Editor_state.cursor1.line, 2, 'cursor:line')
check_eq(Editor_state.cursor1.pos, 2, 'cursor:pos')
App.screen.check(y, 'axy', 'screen:1')
App.screen.check(y, 'zbc', 'screen:2')
App.screen.check(y, 'def', 'screen:3')
App.screen.check(y, 'abc', 'baseline/screen:1')
App.screen.check(y, 'def', 'baseline/screen:2')
App.screen.check(y, 'ghi', 'baseline/screen:3')
check_eq(Editor_state.screen_top1.line, 2, 'screen_top')
check_eq(Editor_state.cursor1.line, 4, 'cursor:line')
check_eq(Editor_state.cursor1.pos, 1, 'cursor:pos')
App.screen.check(y, 'def', 'screen:1')
App.screen.check(y, 'g', 'screen:2')
App.screen.check(y, 'hi', 'screen:3')
App.screen.check(y, 'jkl', 'baseline/screen:1')
check_eq(Editor_state.screen_top1.line, 4, 'screen_top')
check_eq(Editor_state.cursor1.line, 5, 'cursor:line')
check_eq(Editor_state.cursor1.pos, 1, 'cursor:pos')
App.screen.check(y, 'j', 'screen:1')
App.screen.check(y, 'kl', 'screen:2')
check_eq(Editor_state.screen_top1.line, 2, 'screen_top')
check_eq(Editor_state.cursor1.line, 2, 'cursor:line')
check_eq(Editor_state.cursor1.pos, 2, 'cursor:pos')
App.screen.check(y, 'a', 'screen:1')
App.screen.check(y, 'abc', 'baseline/screen:1')
App.screen.check(y, 'def', 'baseline/screen:2')
App.screen.check(y, 'ghi', 'baseline/screen:3')
check_eq(Editor_state.screen_top1.line, 2, 'screen_top')
check_eq(Editor_state.cursor1.line, 3, 'cursor:line')
check_eq(Editor_state.cursor1.pos, 7, 'cursor:pos')
App.screen.check(y, 'def', 'screen:1')
App.screen.check(y, 'ghij', 'screen:2')
App.screen.check(y, 'kl', 'screen:3')
App.screen.check(y, 'abc def ghi ', 'baseline1/screen:1')
App.screen.check(y, 'jkl mno pqr ', 'baseline1/screen:2')
App.screen.check(y, 'xyz', 'baseline1/screen:3')
check_eq(Editor_state.cursor1.pos, 28, 'cursor:pos')
App.screen.check(y, 'abc def ghi ', 'baseline2/screen:1')
App.screen.check(y, 'jkl mno pqr ', 'baseline2/screen:2')
App.screen.check(y, 'stu', 'baseline2/screen:3')
check_eq(Editor_state.cursor1.line, 1, 'cursor:line')
check_eq(Editor_state.cursor1.pos, 26, 'cursor:pos')
App.screen.check(y, 'def', 'baseline/screen:1')
App.screen.check(y, 'ghi', 'baseline/screen:2')
App.screen.check(y, 'jkl', 'baseline/screen:3')
check_eq(Editor_state.screen_top1.line, 1, 'screen_top')
check_eq(Editor_state.cursor1.line, 1, 'cursor')
App.screen.check(y, 'abcdef', 'screen:1')
App.screen.check(y, 'ghi', 'screen:2')
App.screen.check(y, 'jkl', 'screen:3')
App.screen.check(y, 'jkl', 'baseline/screen:1')
App.screen.check(y, 'mno', 'baseline/screen:2')
App.screen.check(y, 'ghij', 'screen:1')
App.screen.check(y, 'kl', 'screen:2')
App.screen.check(y, 'mno', 'screen:3')
check_eq(Editor_state.screen_top1.line, 3, 'screen_top:line')
check_eq(Editor_state.screen_top1.pos, 1, 'screen_top:pos')
check_eq(Editor_state.cursor1.line, 3, 'cursor:line')
check_eq(Editor_state.cursor1.pos, 4, 'cursor:pos')
check_eq(Editor_state.lines[1].data, 'abcdef', 'check')
check_eq(Editor_state.lines[1].data, 'bc', 'data')
check_eq(Editor_state.cursor1.line, 1, 'cursor:line')
check_eq(Editor_state.cursor1.pos, 1, 'cursor:pos')
check_nil(Editor_state.selection1.line, 'selection')
check_eq(Editor_state.lines[1].data, 'bc', 'data')
check_eq(Editor_state.cursor1.line, 1, 'cursor:line')
check_eq(Editor_state.cursor1.pos, 1, 'cursor:pos')
check_nil(Editor_state.selection1.line, 'selection')
check_eq(Editor_state.lines[1].data, 'akl', 'data:1')
check_eq(Editor_state.lines[2].data, 'mno', 'data:2')
check_eq(Editor_state.cursor1.line, 1, 'cursor:line')
check_eq(Editor_state.cursor1.pos, 2, 'cursor:pos')
check_nil(Editor_state.selection1.line, 'selection')
check_eq(Editor_state.lines[1].data, 'a', 'data:1')
check_eq(Editor_state.lines[2].data, 'def', 'data:2')
check_eq(Editor_state.cursor1.line, 1, 'cursor:line')
check_eq(Editor_state.cursor1.pos, 2, 'cursor:pos')
check_nil(Editor_state.selection1.line, 'selection')
check_eq(Editor_state.lines[1].data, 'abc', 'data:1')
check_eq(Editor_state.lines[2].data, 'f', 'data:2')
check_eq(Editor_state.cursor1.line, 2, 'cursor:line')
check_eq(Editor_state.cursor1.pos, 1, 'cursor:pos')
check_nil(Editor_state.selection1.line, 'selection')
check_eq(Editor_state.cursor1.line, 2, 'baseline/cursor:line')
check_eq(Editor_state.cursor1.pos, 5, 'baseline/cursor:pos')
check_nil(Editor_state.selection1.line, 'baseline/selection:line')
check_nil(Editor_state.selection1.pos, 'baseline/selection:pos')
App.screen.check(y, 'abc', 'baseline/screen:1')
App.screen.check(y, 'defg', 'baseline/screen:2')
App.screen.check(y, 'xyz', 'baseline/screen:3')
check_eq(Editor_state.cursor1.line, 2, 'cursor:line')
check_eq(Editor_state.cursor1.pos, 4, 'cursor:pos')
check_nil(Editor_state.selection1.line, 'selection:line')
check_nil(Editor_state.selection1.pos, 'selection:pos')
App.screen.check(y, 'abc', 'screen:1')
App.screen.check(y, 'def', 'screen:2')
App.screen.check(y, 'xyz', 'screen:3')
check_eq(Editor_state.cursor1.line, 2, 'baseline/cursor:line')
check_eq(Editor_state.cursor1.pos, 4, 'baseline/cursor:pos')
check_nil(Editor_state.selection1.line, 'baseline/selection:line')
check_nil(Editor_state.selection1.pos, 'baseline/selection:pos')
App.screen.check(y, 'abc', 'baseline/screen:1')
App.screen.check(y, 'def', 'baseline/screen:2')
App.screen.check(y, 'xyz', 'baseline/screen:3')
check_eq(Editor_state.cursor1.line, 2, 'cursor:line')
check_eq(Editor_state.cursor1.pos, 5, 'cursor:pos')
check_nil(Editor_state.selection1.line, 'selection:line')
check_nil(Editor_state.selection1.pos, 'selection:pos')
--? check_eq(Editor_state.selection1.line, 2, 'selection:line')
--? check_eq(Editor_state.selection1.pos, 4, 'selection:pos')
App.screen.check(y, 'abc', 'screen:1')
App.screen.check(y, 'defg', 'screen:2')
App.screen.check(y, 'xyz', 'screen:3')
check_eq(Editor_state.lines[1].data, 'xbc', 'baseline')
check_nil(Editor_state.selection1.line, 'baseline:selection')
check_eq(Editor_state.selection1.line, 1, 'line')
check_eq(Editor_state.selection1.pos, 2, 'pos')