deduce test names on failures
[?]
Jan 21, 2023, 5:42 AM
ORRSP7FVCHI2TF5GXBRGQYYJAA3JFYXZBM3T663BKSBV22FCZVCACDependencies
- [2]
FCFJVYKYredundant check - [3]
WIPDCP4Ustop recording points for arcs - [4]
JLU2RMC4allow Text.nearest_pos_less_than to return 0 - [5]
3OC7AIC7exclude left margin from my word-split heuristic - [6]
62JEPVQ3bugfix: backspace from start of final line - [7]
Y4SPXCM3bugfix: pagedown was sometimes bouncing up - [8]
NNTMVNVO. - [9]
ENENSZLKbugfix: source margins when toggling log browser - [10]
GDAWPFAVmore streamlined test names - [11]
KOTNETIMrepeat changes on source editor - [12]
FQZ3U3YAstreamline one more test name - [13]
DFGPHG5Toverzealous search-and-replace - [14]
LF7BWEG4group all editor globals - [15]
ILOA5BYFseparate data structure for each line's cache data - [16]
KAUD3YIKtests: deleting points/shapes - [17]
7XERS4UFmore decoupling editor tests from App - [18]
CRYGI3LRmore drawing tests - [19]
QKAMUWSBanother bugfix in scrolling while inserting text - [20]
AMOPICKVbugfix: check after cursor on same line when searching upwards - [21]
M6TH7VSZrip out notion of Line_width - [22]
H3KWPK3Gregression: dropping files on the window - [23]
DRFE3B3Zmouse buttons are integers, not strings - [24]
NUZFHX6Iflesh out some tests for word movements - [25]
LYN3L74Wcorrect commit f3abc2cbf2 - [26]
7EQLPB3Obugfix: don't delete selection when moving cursor - [27]
FFBIY74Nbugfix: 'escape' to cancel a stroke - [28]
5DOTWNVMright margin - [29]
GL4Q5WCVkeep text from overflowing right margin - [30]
CNCYMM6Amake test initializations a little more obvious - [31]
4VQGE7RAnew test - [32]
42LVB4DEtest: naming a point - [33]
6SMGKYDR. - [34]
AJP4OSTJnew test - [35]
V7LATJC7bugfix: resize - [36]
KKMFQDR4editing source code from within the app - [37]
H3ECRBXFbugfix: clicking on empty lines - [38]
Y2ZIPXEMnew test - [39]
LXTTOB33extract a couple of files - [40]
GJLOKCYKbugfix: clicking past end of screen line - [41]
2JLVAYHBstart decoupling editor tests from App - [42]
VG75U7IMbugfix: typing should delete highlighted text - [43]
3TCZ7ADHmove - [44]
JFFUF5ALoverride mouse state lookups in tests - [45]
LAW2O3NWextract variable Margin_left - [46]
S2YQBEYCsnapshot: test for a new regression - [47]
AOIRVVJArevert selection logic to before commit 3ffc2ed8f - [48]
DGK5BPVIbugfix: UTF-8 in compute_fragments - [49]
3OTESDW6move drawing.starty into line cache - [50]
LNUHQOGHstart passing in Editor_state explicitly - [51]
2WGHUWE6self-documenting 0 Test_right_margin - [52]
V3EABA35skip multiple consecutive whitespace - [53]
T7SJSJIHtest: undo naming a point - [54]
PTDO2SOTadd state arg to schedule_save - [55]
RZKXJYFKswitch a bunch of tests to textinput events - [56]
KMSL74GAsupport selections in the source editor - [57]
VSBSWTE4bugfix: where cursor is drawn - [58]
LMP3FXAMswitch one call back to keychord_pressed - [59]
UHB4GARJleft/right margin -> left/right coordinates - [60]
OI4FPFINsupport drawings in the source editor - [61]
APX2PY6Gstop tracking wallclock time - [62]
EMHRPJ3Rno, that's not right - [63]
TO6Y2G3Umore decoupling editor tests from App - [64]
WLWNS6FBa bug I've never run into - [65]
SPNMXTYRhave file API operate on state object - [66]
CVSRHMJ2experiment: slightly adaptive scrolling - [67]
4WAFGF4Zselection bugfix - [68]
CUIV2LE5some typos - [69]
NZKYPBSKcheck for scroll when just typing - [70]
FYS7TCDWbugfix - [71]
DSLD74DKlots more tests - [72]
HTWAM4NZbugfix: scrolling in left/right movements - [73]
PX7DDEMOautosave slightly less aggressively - [74]
KMRJOSLYbugfix: delete selection before pasting - [75]
YIQYNVD2rip out the line-width slider - [76]
EKKFWP4Dbugfix: couple of margin-relative computations - [77]
MSOQI3A5bugfix: check before cursor on same line - [78]
IWYLK45Kclicking to the right of a line within line width - [79]
WAR3HXHTtest both ways of selecting text with mouse - [80]
C45WCXJ2keep drawings within the line width slider as well - [81]
4J2L6JMRbugfix: deleting a selection spanning pages - [82]
CIQN2MDEbugfix: typing a capital letter deletes selection - [83]
2CK5QI7Wmake love event names consistent - [84]
YT5P6TO6bugfix: save previous file when dropping a new one on - [85]
AVTNUQYRbasic test-enabled framework - [86]
APYPFFS3call edit rather than App callbacks in tests - [87]
CE4LZV4Tdrop last couple of manual tests - [88]
TGZAJUEFbring back a set of constants - [89]
IMEJA43Lsnapshot - [90]
EETIR4GXbugfix: skip over drawings when searching - [91]
LLAOOMULbugfix: search upwards - [92]
4VKEE43Zbugfix - [93]
Y4VYNEGFtest: autosave after name/move/delete of point - [94]
T3B4NLV3include a unit test - [95]
4DBXBOOPcompare nested tables - [96]
4AXV2HG4all pending manual tests done! - [97]
L6XA5EY2test: moving a point - [98]
7DYUAOI6test: undo moving point - [99]
MYC7XR5Qbugfix: lines that aren't drawn from the start - [100]
7CLGG7J2test: autosave after any shape - [101]
2LC3BM2Nsupport other whitespace chars in word movements - [102]
ZLJGZYQGselect text with shift + mouseclick - [103]
DHI6IJCNselecting text and deleting selections - [104]
5BMR5HRTclick to the left of a line - [105]
FT3ZSQBCanswered an open question - [106]
225JKBBOclean up a cross-test leakage - [107]
HPVT467Winitialize contains test state - [108]
KOTI3MFGbugfix in previous commit - [109]
OWK3U6VDtests for drawing polygons - [110]
BPWFKBXTnew test: dragging and dropping a file on lines.love - [111]
356GY7IQunify two similar functions - [112]
FZBXBUFFbugfix: search - [113]
K2X6G75Zstart writing some tests for drawings - [114]
P6SYWBLBremove a duplicate test - [115]
RMKMPFT5fix a corner case when selecting text - [*]
3QNOKBFMbeginnings of a test harness
Change contents
- edit in text_tests.lua at line 4
io.write('\ntest_initial_state') - replacement in text_tests.lua at line 9
check_eq(#Editor_state.lines, 1, 'F - test_initial_state/#lines')check_eq(Editor_state.cursor1.line, 1, 'F - test_initial_state/cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'F - test_initial_state/cursor:pos')check_eq(Editor_state.screen_top1.line, 1, 'F - test_initial_state/screen_top:line')check_eq(Editor_state.screen_top1.pos, 1, 'F - test_initial_state/screen_top:pos')check_eq(#Editor_state.lines, 1, '#lines')check_eq(Editor_state.cursor1.line, 1, 'cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'cursor:pos')check_eq(Editor_state.screen_top1.line, 1, 'screen_top:line')check_eq(Editor_state.screen_top1.pos, 1, 'screen_top:pos') - edit in text_tests.lua at line 17
io.write('\ntest_click_to_create_drawing') - replacement in text_tests.lua at line 24
check_eq(#Editor_state.lines, 2, 'F - test_click_to_create_drawing/#lines')check_eq(Editor_state.cursor1.line, 2, 'F - test_click_to_create_drawing/cursor')check_eq(#Editor_state.lines, 2, '#lines')check_eq(Editor_state.cursor1.line, 2, 'cursor') - edit in text_tests.lua at line 29
io.write('\ntest_backspace_to_delete_drawing') - replacement in text_tests.lua at line 38
check_eq(#Editor_state.lines, 1, 'F - test_backspace_to_delete_drawing/#lines')check_eq(Editor_state.cursor1.line, 1, 'F - test_backspace_to_delete_drawing/cursor')check_eq(#Editor_state.lines, 1, '#lines')check_eq(Editor_state.cursor1.line, 1, 'cursor') - edit in text_tests.lua at line 43
io.write('\ntest_backspace_from_start_of_final_line') - replacement in text_tests.lua at line 52
check_eq(#Editor_state.lines, 1, 'F - test_backspace_from_start_of_final_line/#lines')check_eq(Editor_state.cursor1.line, 1, 'F - test_backspace_from_start_of_final_line/cursor')check_eq(Editor_state.screen_top1.line, 1, 'F - test_backspace_from_start_of_final_line/screen_top')check_eq(#Editor_state.lines, 1, '#lines')check_eq(Editor_state.cursor1.line, 1, 'cursor')check_eq(Editor_state.screen_top1.line, 1, 'screen_top') - edit in text_tests.lua at line 58
io.write('\ntest_insert_first_character') - replacement in text_tests.lua at line 65
App.screen.check(y, 'a', 'F - test_insert_first_character/screen:1')App.screen.check(y, 'a', 'screen:1') - edit in text_tests.lua at line 69
io.write('\ntest_press_ctrl') - edit in text_tests.lua at line 81
io.write('\ntest_move_left') - replacement in text_tests.lua at line 88
check_eq(Editor_state.cursor1.pos, 1, 'F - test_move_left')check_eq(Editor_state.cursor1.pos, 1, 'check') - edit in text_tests.lua at line 92
io.write('\ntest_move_right') - replacement in text_tests.lua at line 99
check_eq(Editor_state.cursor1.pos, 2, 'F - test_move_right')check_eq(Editor_state.cursor1.pos, 2, 'check') - edit in text_tests.lua at line 103
io.write('\ntest_move_left_to_previous_line') - replacement in text_tests.lua at line 110
check_eq(Editor_state.cursor1.line, 1, 'F - test_move_left_to_previous_line/line')check_eq(Editor_state.cursor1.pos, 4, 'F - test_move_left_to_previous_line/pos') -- past end of linecheck_eq(Editor_state.cursor1.line, 1, 'line')check_eq(Editor_state.cursor1.pos, 4, 'pos') -- past end of line - edit in text_tests.lua at line 115
io.write('\ntest_move_right_to_next_line') - replacement in text_tests.lua at line 122
check_eq(Editor_state.cursor1.line, 2, 'F - test_move_right_to_next_line/line')check_eq(Editor_state.cursor1.pos, 1, 'F - test_move_right_to_next_line/pos')check_eq(Editor_state.cursor1.line, 2, 'line')check_eq(Editor_state.cursor1.pos, 1, 'pos') - edit in text_tests.lua at line 127
io.write('\ntest_move_to_start_of_word') - replacement in text_tests.lua at line 134
check_eq(Editor_state.cursor1.pos, 1, 'F - test_move_to_start_of_word')check_eq(Editor_state.cursor1.pos, 1, 'check') - edit in text_tests.lua at line 138
io.write('\ntest_move_to_start_of_previous_word') - replacement in text_tests.lua at line 145
check_eq(Editor_state.cursor1.pos, 1, 'F - test_move_to_start_of_previous_word')check_eq(Editor_state.cursor1.pos, 1, 'check') - edit in text_tests.lua at line 149
io.write('\ntest_skip_to_previous_word') - replacement in text_tests.lua at line 156
check_eq(Editor_state.cursor1.pos, 1, 'F - test_skip_to_previous_word')check_eq(Editor_state.cursor1.pos, 1, 'check') - edit in text_tests.lua at line 160
io.write('\ntest_skip_past_tab_to_previous_word') - replacement in text_tests.lua at line 167
check_eq(Editor_state.cursor1.pos, 9, 'F - test_skip_past_tab_to_previous_word')check_eq(Editor_state.cursor1.pos, 9, 'check') - edit in text_tests.lua at line 171
io.write('\ntest_skip_multiple_spaces_to_previous_word') - replacement in text_tests.lua at line 178
check_eq(Editor_state.cursor1.pos, 1, 'F - test_skip_multiple_spaces_to_previous_word')check_eq(Editor_state.cursor1.pos, 1, 'check') - edit in text_tests.lua at line 182
io.write('\ntest_move_to_start_of_word_on_previous_line') - replacement in text_tests.lua at line 189
check_eq(Editor_state.cursor1.line, 1, 'F - test_move_to_start_of_word_on_previous_line/line')check_eq(Editor_state.cursor1.pos, 5, 'F - test_move_to_start_of_word_on_previous_line/pos')check_eq(Editor_state.cursor1.line, 1, 'line')check_eq(Editor_state.cursor1.pos, 5, 'pos') - edit in text_tests.lua at line 194
io.write('\ntest_move_past_end_of_word') - replacement in text_tests.lua at line 201
check_eq(Editor_state.cursor1.pos, 4, 'F - test_move_past_end_of_word')check_eq(Editor_state.cursor1.pos, 4, 'check') - edit in text_tests.lua at line 205
io.write('\ntest_skip_to_next_word') - replacement in text_tests.lua at line 212
check_eq(Editor_state.cursor1.pos, 8, 'F - test_skip_to_next_word')check_eq(Editor_state.cursor1.pos, 8, 'check') - edit in text_tests.lua at line 216
io.write('\ntest_skip_past_tab_to_next_word') - replacement in text_tests.lua at line 223
check_eq(Editor_state.cursor1.pos, 4, 'F - test_skip_past_tab_to_next_word')check_eq(Editor_state.cursor1.pos, 4, 'check') - edit in text_tests.lua at line 227
io.write('\ntest_skip_multiple_spaces_to_next_word') - replacement in text_tests.lua at line 234
check_eq(Editor_state.cursor1.pos, 9, 'F - test_skip_multiple_spaces_to_next_word')check_eq(Editor_state.cursor1.pos, 9, 'check') - edit in text_tests.lua at line 238
io.write('\ntest_move_past_end_of_word_on_next_line') - replacement in text_tests.lua at line 245
check_eq(Editor_state.cursor1.line, 2, 'F - test_move_past_end_of_word_on_next_line/line')check_eq(Editor_state.cursor1.pos, 4, 'F - test_move_past_end_of_word_on_next_line/pos')check_eq(Editor_state.cursor1.line, 2, 'line')check_eq(Editor_state.cursor1.pos, 4, 'pos') - edit in text_tests.lua at line 250
io.write('\ntest_click_moves_cursor') - replacement in text_tests.lua at line 260
check_eq(Editor_state.cursor1.line, 1, 'F - test_click_moves_cursor/cursor:line')check_eq(Editor_state.cursor1.pos, 2, 'F - test_click_moves_cursor/cursor:pos')check_eq(Editor_state.cursor1.line, 1, 'cursor:line')check_eq(Editor_state.cursor1.pos, 2, 'cursor:pos') - replacement in text_tests.lua at line 263
check_nil(Editor_state.selection1.line, 'F - test_click_moves_cursor/selection:line')check_nil(Editor_state.selection1.pos, 'F - test_click_moves_cursor/selection:pos')check_nil(Editor_state.selection1.line, 'selection:line')check_nil(Editor_state.selection1.pos, 'selection:pos') - edit in text_tests.lua at line 268
io.write('\ntest_click_to_left_of_line') - replacement in text_tests.lua at line 280
check_eq(Editor_state.cursor1.line, 1, 'F - test_click_to_left_of_line/cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'F - test_click_to_left_of_line/cursor:pos')check_nil(Editor_state.selection1.line, 'F - test_click_to_left_of_line/selection is empty to avoid perturbing future edits')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 is empty to avoid perturbing future edits') - edit in text_tests.lua at line 286
io.write('\ntest_click_takes_margins_into_account') - replacement in text_tests.lua at line 299
check_eq(Editor_state.cursor1.line, 1, 'F - test_click_takes_margins_into_account/cursor:line')check_eq(Editor_state.cursor1.pos, 2, 'F - test_click_takes_margins_into_account/cursor:pos')check_nil(Editor_state.selection1.line, 'F - test_click_takes_margins_into_account/selection is empty to avoid perturbing future edits')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 is empty to avoid perturbing future edits') - edit in text_tests.lua at line 305
io.write('\ntest_click_on_empty_line') - replacement in text_tests.lua at line 317
check_eq(Editor_state.cursor1.line, 1, 'F - test_click_on_empty_line/cursor')check_eq(Editor_state.cursor1.line, 1, 'cursor') - edit in text_tests.lua at line 321
io.write('\ntest_draw_text') - replacement in text_tests.lua at line 330
App.screen.check(y, 'abc', 'F - test_draw_text/screen:1')App.screen.check(y, 'abc', 'screen:1') - replacement in text_tests.lua at line 332
App.screen.check(y, 'def', 'F - test_draw_text/screen:2')App.screen.check(y, 'def', 'screen:2') - replacement in text_tests.lua at line 334
App.screen.check(y, 'ghi', 'F - test_draw_text/screen:3')App.screen.check(y, 'ghi', 'screen:3') - edit in text_tests.lua at line 338
io.write('\ntest_draw_wrapping_text') - replacement in text_tests.lua at line 347
App.screen.check(y, 'abc', 'F - test_draw_wrapping_text/screen:1')App.screen.check(y, 'abc', 'screen:1') - replacement in text_tests.lua at line 349
App.screen.check(y, 'de', 'F - test_draw_wrapping_text/screen:2')App.screen.check(y, 'de', 'screen:2') - replacement in text_tests.lua at line 351
App.screen.check(y, 'fgh', 'F - test_draw_wrapping_text/screen:3')App.screen.check(y, 'fgh', 'screen:3') - edit in text_tests.lua at line 355
io.write('\ntest_draw_word_wrapping_text') - replacement in text_tests.lua at line 364
App.screen.check(y, 'abc ', 'F - test_draw_word_wrapping_text/screen:1')App.screen.check(y, 'abc ', 'screen:1') - replacement in text_tests.lua at line 366
App.screen.check(y, 'def ', 'F - test_draw_word_wrapping_text/screen:2')App.screen.check(y, 'def ', 'screen:2') - replacement in text_tests.lua at line 368
App.screen.check(y, 'ghi', 'F - test_draw_word_wrapping_text/screen:3')App.screen.check(y, 'ghi', 'screen:3') - edit in text_tests.lua at line 372
io.write('\ntest_click_on_wrapping_line') - replacement in text_tests.lua at line 384
check_eq(Editor_state.cursor1.line, 1, 'F - test_click_on_wrapping_line/cursor:line')check_eq(Editor_state.cursor1.pos, 2, 'F - test_click_on_wrapping_line/cursor:pos')check_nil(Editor_state.selection1.line, 'F - test_click_on_wrapping_line/selection is empty to avoid perturbing future edits')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 is empty to avoid perturbing future edits') - edit in text_tests.lua at line 390
io.write('\ntest_click_on_wrapping_line_takes_margins_into_account') - replacement in text_tests.lua at line 403
check_eq(Editor_state.cursor1.line, 1, 'F - test_click_on_wrapping_line_takes_margins_into_account/cursor:line')check_eq(Editor_state.cursor1.pos, 2, 'F - test_click_on_wrapping_line_takes_margins_into_account/cursor:pos')check_nil(Editor_state.selection1.line, 'F - test_click_on_wrapping_line_takes_margins_into_account/selection is empty to avoid perturbing future edits')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 is empty to avoid perturbing future edits') - edit in text_tests.lua at line 410
io.write('\ntest_draw_text_wrapping_within_word') - replacement in text_tests.lua at line 419
App.screen.check(y, 'abcd ', 'F - test_draw_text_wrapping_within_word/screen:1')App.screen.check(y, 'abcd ', 'screen:1') - replacement in text_tests.lua at line 421
App.screen.check(y, 'e fgh', 'F - test_draw_text_wrapping_within_word/screen:2')App.screen.check(y, 'e fgh', 'screen:2') - replacement in text_tests.lua at line 423
App.screen.check(y, 'ijk', 'F - test_draw_text_wrapping_within_word/screen:3')App.screen.check(y, 'ijk', 'screen:3') - edit in text_tests.lua at line 428
io.write('\ntest_draw_wrapping_text_containing_non_ascii') - replacement in text_tests.lua at line 437
App.screen.check(y, 'mad', 'F - test_draw_wrapping_text_containing_non_ascii/screen:1')App.screen.check(y, 'mad', 'screen:1') - replacement in text_tests.lua at line 439
App.screen.check(y, 'am I', 'F - test_draw_wrapping_text_containing_non_ascii/screen:2')App.screen.check(y, 'am I', 'screen:2') - replacement in text_tests.lua at line 441
App.screen.check(y, '’m a', 'F - test_draw_wrapping_text_containing_non_ascii/screen:3')App.screen.check(y, '’m a', 'screen:3') - edit in text_tests.lua at line 445
io.write('\ntest_click_on_wrapping_line') - replacement in text_tests.lua at line 456
App.screen.check(y, 'madam ', 'F - test_click_on_wrapping_line/baseline/screen:1')App.screen.check(y, 'madam ', 'baseline/screen:1') - replacement in text_tests.lua at line 458
App.screen.check(y, "I'm ad", 'F - test_click_on_wrapping_line/baseline/screen:2')App.screen.check(y, "I'm ad", 'baseline/screen:2') - replacement in text_tests.lua at line 463
check_eq(Editor_state.cursor1.line, 1, 'F - test_click_on_wrapping_line/cursor:line')check_eq(Editor_state.cursor1.pos, 12, 'F - test_click_on_wrapping_line/cursor:pos')check_eq(Editor_state.cursor1.line, 1, 'cursor:line')check_eq(Editor_state.cursor1.pos, 12, 'cursor:pos') - edit in text_tests.lua at line 468
io.write('\ntest_click_on_wrapping_line_rendered_from_partway_at_top_of_screen') - replacement in text_tests.lua at line 479
App.screen.check(y, "I'm ad", 'F - test_click_on_wrapping_line_rendered_from_partway_at_top_of_screen/baseline/screen:2')App.screen.check(y, "I'm ad", 'baseline/screen:2') - replacement in text_tests.lua at line 484
check_eq(Editor_state.cursor1.line, 1, 'F - test_click_on_wrapping_line_rendered_from_partway_at_top_of_screen/cursor:line')check_eq(Editor_state.cursor1.pos, 12, 'F - test_click_on_wrapping_line_rendered_from_partway_at_top_of_screen/cursor:pos')check_eq(Editor_state.cursor1.line, 1, 'cursor:line')check_eq(Editor_state.cursor1.pos, 12, 'cursor:pos') - edit in text_tests.lua at line 489
io.write('\ntest_click_past_end_of_wrapping_line') - replacement in text_tests.lua at line 500
App.screen.check(y, 'madam ', 'F - test_click_past_end_of_wrapping_line/baseline/screen:1')App.screen.check(y, 'madam ', 'baseline/screen:1') - replacement in text_tests.lua at line 502
App.screen.check(y, "I'm ad", 'F - test_click_past_end_of_wrapping_line/baseline/screen:2')App.screen.check(y, "I'm ad", 'baseline/screen:2') - replacement in text_tests.lua at line 504
App.screen.check(y, 'am', 'F - test_click_past_end_of_wrapping_line/baseline/screen:3')App.screen.check(y, 'am', 'baseline/screen:3') - replacement in text_tests.lua at line 509
check_eq(Editor_state.cursor1.pos, 15, 'F - test_click_past_end_of_wrapping_line/cursor') -- one more than the number of UTF-8 code-pointscheck_eq(Editor_state.cursor1.pos, 15, 'cursor') -- one more than the number of UTF-8 code-points - edit in text_tests.lua at line 513
io.write('\ntest_click_past_end_of_wrapping_line_containing_non_ascii') - replacement in text_tests.lua at line 524
App.screen.check(y, 'madam ', 'F - test_click_past_end_of_wrapping_line_containing_non_ascii/baseline/screen:1')App.screen.check(y, 'madam ', 'baseline/screen:1') - replacement in text_tests.lua at line 526
App.screen.check(y, 'I’m ad', 'F - test_click_past_end_of_wrapping_line_containing_non_ascii/baseline/screen:2')App.screen.check(y, 'I’m ad', 'baseline/screen:2') - replacement in text_tests.lua at line 528
App.screen.check(y, 'am', 'F - test_click_past_end_of_wrapping_line_containing_non_ascii/baseline/screen:3')App.screen.check(y, 'am', 'baseline/screen:3') - replacement in text_tests.lua at line 533
check_eq(Editor_state.cursor1.pos, 15, 'F - test_click_past_end_of_wrapping_line_containing_non_ascii/cursor') -- one more than the number of UTF-8 code-pointscheck_eq(Editor_state.cursor1.pos, 15, 'cursor') -- one more than the number of UTF-8 code-points - edit in text_tests.lua at line 537
io.write('\ntest_click_past_end_of_word_wrapping_line') - replacement in text_tests.lua at line 549
App.screen.check(y, 'the quick brown fox ', 'F - test_click_past_end_of_word_wrapping_line/baseline/screen:1')App.screen.check(y, 'the quick brown fox ', 'baseline/screen:1') - replacement in text_tests.lua at line 554
check_eq(Editor_state.cursor1.pos, 20, 'F - test_click_past_end_of_word_wrapping_line/cursor')check_eq(Editor_state.cursor1.pos, 20, 'cursor') - edit in text_tests.lua at line 558
io.write('\ntest_select_text') - replacement in text_tests.lua at line 573
check_eq(Editor_state.selection1.line, 1, 'F - test_select_text/selection:line')check_eq(Editor_state.selection1.pos, 1, 'F - test_select_text/selection:pos')check_eq(Editor_state.cursor1.line, 1, 'F - test_select_text/cursor:line')check_eq(Editor_state.cursor1.pos, 2, 'F - test_select_text/cursor:pos')check_eq(Editor_state.selection1.line, 1, 'selection:line')check_eq(Editor_state.selection1.pos, 1, 'selection:pos')check_eq(Editor_state.cursor1.line, 1, 'cursor:line')check_eq(Editor_state.cursor1.pos, 2, 'cursor:pos') - edit in text_tests.lua at line 580
io.write('\ntest_cursor_movement_without_shift_resets_selection') - replacement in text_tests.lua at line 593
check_nil(Editor_state.selection1.line, 'F - test_cursor_movement_without_shift_resets_selection')check_eq(Editor_state.lines[1].data, 'abc', 'F - test_cursor_movement_without_shift_resets_selection/data')check_nil(Editor_state.selection1.line, 'check')check_eq(Editor_state.lines[1].data, 'abc', 'data') - edit in text_tests.lua at line 598
io.write('\ntest_edit_deletes_selection') - replacement in text_tests.lua at line 611
check_eq(Editor_state.lines[1].data, 'xbc', 'F - test_edit_deletes_selection')check_eq(Editor_state.lines[1].data, 'xbc', 'check') - edit in text_tests.lua at line 615
io.write('\ntest_edit_with_shift_key_deletes_selection') - replacement in text_tests.lua at line 632
check_nil(Editor_state.selection1.line, 'F - test_edit_with_shift_key_deletes_selection')check_eq(Editor_state.lines[1].data, 'Dbc', 'F - test_edit_with_shift_key_deletes_selection/data')check_nil(Editor_state.selection1.line, 'check')check_eq(Editor_state.lines[1].data, 'Dbc', 'data') - edit in text_tests.lua at line 637
io.write('\ntest_copy_does_not_reset_selection') - replacement in text_tests.lua at line 649
check_eq(App.clipboard, 'a', 'F - test_copy_does_not_reset_selection/clipboard')check_eq(App.clipboard, 'a', 'clipboard') - replacement in text_tests.lua at line 651
check(Editor_state.selection1.line, 'F - test_copy_does_not_reset_selection')check(Editor_state.selection1.line, 'check') - edit in text_tests.lua at line 655
io.write('\ntest_cut') - replacement in text_tests.lua at line 667
check_eq(App.clipboard, 'a', 'F - test_cut/clipboard')check_eq(App.clipboard, 'a', 'clipboard') - replacement in text_tests.lua at line 669
check_eq(Editor_state.lines[1].data, 'bc', 'F - test_cut/data')check_eq(Editor_state.lines[1].data, 'bc', 'data') - edit in text_tests.lua at line 673
io.write('\ntest_paste_replaces_selection') - replacement in text_tests.lua at line 689
check_eq(Editor_state.lines[1].data, 'xyzdef', 'F - test_paste_replaces_selection')check_eq(Editor_state.lines[1].data, 'xyzdef', 'check') - edit in text_tests.lua at line 693
io.write('\ntest_deleting_selection_may_scroll') - replacement in text_tests.lua at line 703
App.screen.check(y, 'def', 'F - test_deleting_selection_may_scroll/baseline/screen:1')App.screen.check(y, 'def', 'baseline/screen:1') - replacement in text_tests.lua at line 705
App.screen.check(y, 'ghi', 'F - test_deleting_selection_may_scroll/baseline/screen:2')App.screen.check(y, 'ghi', 'baseline/screen:2') - replacement in text_tests.lua at line 707
App.screen.check(y, 'jkl', 'F - test_deleting_selection_may_scroll/baseline/screen:3')App.screen.check(y, 'jkl', 'baseline/screen:3') - replacement in text_tests.lua at line 713
check_eq(Editor_state.screen_top1.line, 1, 'F - test_deleting_selection_may_scroll')check_eq(Editor_state.lines[1].data, 'ahi', 'F - test_deleting_selection_may_scroll/data')check_eq(Editor_state.screen_top1.line, 1, 'check')check_eq(Editor_state.lines[1].data, 'ahi', 'data') - edit in text_tests.lua at line 718
io.write('\ntest_edit_wrapping_text') - replacement in text_tests.lua at line 728
App.screen.check(y, 'abc', 'F - test_edit_wrapping_text/screen:1')App.screen.check(y, 'abc', 'screen:1') - replacement in text_tests.lua at line 730
App.screen.check(y, 'de', 'F - test_edit_wrapping_text/screen:2')App.screen.check(y, 'de', 'screen:2') - replacement in text_tests.lua at line 732
App.screen.check(y, 'fg', 'F - test_edit_wrapping_text/screen:3')App.screen.check(y, 'fg', 'screen:3') - edit in text_tests.lua at line 736
io.write('\ntest_insert_newline') - replacement in text_tests.lua at line 746
App.screen.check(y, 'abc', 'F - test_insert_newline/baseline/screen:1')App.screen.check(y, 'abc', 'baseline/screen:1') - replacement in text_tests.lua at line 748
App.screen.check(y, 'def', 'F - test_insert_newline/baseline/screen:2')App.screen.check(y, 'def', 'baseline/screen:2') - replacement in text_tests.lua at line 750
App.screen.check(y, 'ghi', 'F - test_insert_newline/baseline/screen:3')App.screen.check(y, 'ghi', 'baseline/screen:3') - replacement in text_tests.lua at line 753
check_eq(Editor_state.screen_top1.line, 1, 'F - test_insert_newline/screen_top')check_eq(Editor_state.cursor1.line, 2, 'F - test_insert_newline/cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'F - test_insert_newline/cursor:pos')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') - replacement in text_tests.lua at line 757
App.screen.check(y, 'a', 'F - test_insert_newline/screen:1')App.screen.check(y, 'a', 'screen:1') - replacement in text_tests.lua at line 759
App.screen.check(y, 'bc', 'F - test_insert_newline/screen:2')App.screen.check(y, 'bc', 'screen:2') - replacement in text_tests.lua at line 761
App.screen.check(y, 'def', 'F - test_insert_newline/screen:3')App.screen.check(y, 'def', 'screen:3') - edit in text_tests.lua at line 765
io.write('\ntest_insert_newline_at_start_of_line') - replacement in text_tests.lua at line 775
check_eq(Editor_state.cursor1.line, 2, 'F - test_insert_newline_at_start_of_line/cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'F - test_insert_newline_at_start_of_line/cursor:pos')check_eq(Editor_state.lines[1].data, '', 'F - test_insert_newline_at_start_of_line/data:1')check_eq(Editor_state.lines[2].data, 'abc', 'F - test_insert_newline_at_start_of_line/data:2')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') - edit in text_tests.lua at line 782
io.write('\ntest_insert_from_clipboard') - replacement in text_tests.lua at line 792
App.screen.check(y, 'abc', 'F - test_insert_from_clipboard/baseline/screen:1')App.screen.check(y, 'abc', 'baseline/screen:1') - replacement in text_tests.lua at line 794
App.screen.check(y, 'def', 'F - test_insert_from_clipboard/baseline/screen:2')App.screen.check(y, 'def', 'baseline/screen:2') - replacement in text_tests.lua at line 796
App.screen.check(y, 'ghi', 'F - test_insert_from_clipboard/baseline/screen:3')App.screen.check(y, 'ghi', 'baseline/screen:3') - replacement in text_tests.lua at line 800
check_eq(Editor_state.screen_top1.line, 1, 'F - test_insert_from_clipboard/screen_top')check_eq(Editor_state.cursor1.line, 2, 'F - test_insert_from_clipboard/cursor:line')check_eq(Editor_state.cursor1.pos, 2, 'F - test_insert_from_clipboard/cursor:pos')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') - replacement in text_tests.lua at line 804
App.screen.check(y, 'axy', 'F - test_insert_from_clipboard/screen:1')App.screen.check(y, 'axy', 'screen:1') - replacement in text_tests.lua at line 806
App.screen.check(y, 'zbc', 'F - test_insert_from_clipboard/screen:2')App.screen.check(y, 'zbc', 'screen:2') - replacement in text_tests.lua at line 808
App.screen.check(y, 'def', 'F - test_insert_from_clipboard/screen:3')App.screen.check(y, 'def', 'screen:3') - edit in text_tests.lua at line 812
io.write('\ntest_select_text_using_mouse') - replacement in text_tests.lua at line 825[14.2562]→[14.20467:20562](∅→∅),[14.6034]→[14.20467:20562](∅→∅),[14.20467]→[14.20467:20562](∅→∅),[14.20562]→[14.421:514](∅→∅),[14.514]→[14.20655:20831](∅→∅),[14.514]→[14.20655:20831](∅→∅),[14.20655]→[14.20655:20831](∅→∅)
check_eq(Editor_state.selection1.line, 1, 'F - test_select_text_using_mouse/selection:line')check_eq(Editor_state.selection1.pos, 2, 'F - test_select_text_using_mouse/selection:pos')check_eq(Editor_state.cursor1.line, 2, 'F - test_select_text_using_mouse/cursor:line')check_eq(Editor_state.cursor1.pos, 4, 'F - test_select_text_using_mouse/cursor:pos')check_eq(Editor_state.selection1.line, 1, 'selection:line')check_eq(Editor_state.selection1.pos, 2, 'selection:pos')check_eq(Editor_state.cursor1.line, 2, 'cursor:line')check_eq(Editor_state.cursor1.pos, 4, 'cursor:pos') - edit in text_tests.lua at line 832
io.write('\ntest_select_text_using_mouse_and_shift') - replacement in text_tests.lua at line 849[14.581]→[14.21569:21674](∅→∅),[14.21674]→[14.515:618](∅→∅),[14.618]→[14.21777:21973](∅→∅),[14.618]→[14.21777:21973](∅→∅),[14.21777]→[14.21777:21973](∅→∅)
check_eq(Editor_state.selection1.line, 1, 'F - test_select_text_using_mouse_and_shift/selection:line')check_eq(Editor_state.selection1.pos, 2, 'F - test_select_text_using_mouse_and_shift/selection:pos')check_eq(Editor_state.cursor1.line, 2, 'F - test_select_text_using_mouse_and_shift/cursor:line')check_eq(Editor_state.cursor1.pos, 4, 'F - test_select_text_using_mouse_and_shift/cursor:pos')check_eq(Editor_state.selection1.line, 1, 'selection:line')check_eq(Editor_state.selection1.pos, 2, 'selection:pos')check_eq(Editor_state.cursor1.line, 2, 'cursor:line')check_eq(Editor_state.cursor1.pos, 4, 'cursor:pos') - edit in text_tests.lua at line 856
io.write('\ntest_select_text_repeatedly_using_mouse_and_shift') - replacement in text_tests.lua at line 879[14.1185]→[14.22910:23026](∅→∅),[14.23026]→[14.619:733](∅→∅),[14.733]→[14.23140:23250](∅→∅),[14.733]→[14.23140:23250](∅→∅),[14.23140]→[14.23140:23250](∅→∅),[14.23250]→[14.734:842](∅→∅)
check_eq(Editor_state.selection1.line, 1, 'F - test_select_text_repeatedly_using_mouse_and_shift/selection:line')check_eq(Editor_state.selection1.pos, 2, 'F - test_select_text_repeatedly_using_mouse_and_shift/selection:pos')check_eq(Editor_state.cursor1.line, 2, 'F - test_select_text_repeatedly_using_mouse_and_shift/cursor:line')check_eq(Editor_state.cursor1.pos, 2, 'F - test_select_text_repeatedly_using_mouse_and_shift/cursor:pos')check_eq(Editor_state.selection1.line, 1, 'selection:line')check_eq(Editor_state.selection1.pos, 2, 'selection:pos')check_eq(Editor_state.cursor1.line, 2, 'cursor:line')check_eq(Editor_state.cursor1.pos, 2, 'cursor:pos') - edit in text_tests.lua at line 886
io.write('\ntest_cut_without_selection') - replacement in text_tests.lua at line 899
check_nil(Editor_state.selection1.line, 'F - test_cut_without_selection')check_nil(Editor_state.selection1.line, 'check') - edit in text_tests.lua at line 903
io.write('\ntest_pagedown') - replacement in text_tests.lua at line 913
App.screen.check(y, 'abc', 'F - test_pagedown/baseline/screen:1')App.screen.check(y, 'abc', 'baseline/screen:1') - replacement in text_tests.lua at line 915
App.screen.check(y, 'def', 'F - test_pagedown/baseline/screen:2')App.screen.check(y, 'def', 'baseline/screen:2') - replacement in text_tests.lua at line 918
check_eq(Editor_state.screen_top1.line, 2, 'F - test_pagedown/screen_top')check_eq(Editor_state.cursor1.line, 2, 'F - test_pagedown/cursor')check_eq(Editor_state.screen_top1.line, 2, 'screen_top')check_eq(Editor_state.cursor1.line, 2, 'cursor') - replacement in text_tests.lua at line 921
App.screen.check(y, 'def', 'F - test_pagedown/screen:1')App.screen.check(y, 'def', 'screen:1') - replacement in text_tests.lua at line 923
App.screen.check(y, 'ghi', 'F - test_pagedown/screen:2')App.screen.check(y, 'ghi', 'screen:2') - edit in text_tests.lua at line 927
io.write('\ntest_pagedown_skips_drawings') - replacement in text_tests.lua at line 936
check_eq(Editor_state.lines[2].mode, 'drawing', 'F - test_pagedown_skips_drawings/baseline/lines')check_eq(Editor_state.lines[2].mode, 'drawing', 'baseline/lines') - replacement in text_tests.lua at line 945
App.screen.check(y, 'abc', 'F - test_pagedown_skips_drawings/baseline/screen:1')App.screen.check(y, 'abc', 'baseline/screen:1') - replacement in text_tests.lua at line 949
check_eq(Editor_state.screen_top1.line, 2, 'F - test_pagedown_skips_drawings/screen_top')check_eq(Editor_state.cursor1.line, 3, 'F - test_pagedown_skips_drawings/cursor')check_eq(Editor_state.screen_top1.line, 2, 'screen_top')check_eq(Editor_state.cursor1.line, 3, 'cursor') - replacement in text_tests.lua at line 952
App.screen.check(y, 'def', 'F - test_pagedown_skips_drawings/screen:1')App.screen.check(y, 'def', 'screen:1') - edit in text_tests.lua at line 956
io.write('\ntest_pagedown_often_shows_start_of_wrapping_line') - replacement in text_tests.lua at line 966
App.screen.check(y, 'abc', 'F - test_pagedown_often_shows_start_of_wrapping_line/baseline/screen:1')App.screen.check(y, 'abc', 'baseline/screen:1') - replacement in text_tests.lua at line 968
App.screen.check(y, 'def ', 'F - test_pagedown_often_shows_start_of_wrapping_line/baseline/screen:2')App.screen.check(y, 'def ', 'baseline/screen:2') - replacement in text_tests.lua at line 970
App.screen.check(y, 'ghi ', 'F - test_pagedown_often_shows_start_of_wrapping_line/baseline/screen:3')App.screen.check(y, 'ghi ', 'baseline/screen:3') - replacement in text_tests.lua at line 973
check_eq(Editor_state.screen_top1.line, 2, 'F - test_pagedown_often_shows_start_of_wrapping_line/screen_top:line')check_eq(Editor_state.screen_top1.pos, 1, 'F - test_pagedown_often_shows_start_of_wrapping_line/screen_top:pos')check_eq(Editor_state.cursor1.line, 2, 'F - test_pagedown_often_shows_start_of_wrapping_line/cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'F - test_pagedown_often_shows_start_of_wrapping_line/cursor:pos')check_eq(Editor_state.screen_top1.line, 2, 'screen_top:line')check_eq(Editor_state.screen_top1.pos, 1, 'screen_top:pos')check_eq(Editor_state.cursor1.line, 2, 'cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'cursor:pos') - replacement in text_tests.lua at line 978
App.screen.check(y, 'def ', 'F - test_pagedown_often_shows_start_of_wrapping_line/screen:1')App.screen.check(y, 'def ', 'screen:1') - replacement in text_tests.lua at line 980
App.screen.check(y, 'ghi ', 'F - test_pagedown_often_shows_start_of_wrapping_line/screen:2')App.screen.check(y, 'ghi ', 'screen:2') - replacement in text_tests.lua at line 982
App.screen.check(y, 'jkl', 'F - test_pagedown_often_shows_start_of_wrapping_line/screen:3')App.screen.check(y, 'jkl', 'screen:3') - edit in text_tests.lua at line 986
io.write('\ntest_pagedown_can_start_from_middle_of_long_wrapping_line') - replacement in text_tests.lua at line 996
App.screen.check(y, 'abc ', 'F - test_pagedown_can_start_from_middle_of_long_wrapping_line/baseline/screen:1')App.screen.check(y, 'abc ', 'baseline/screen:1') - replacement in text_tests.lua at line 998
App.screen.check(y, 'def ', 'F - test_pagedown_can_start_from_middle_of_long_wrapping_line/baseline/screen:2')App.screen.check(y, 'def ', 'baseline/screen:2') - replacement in text_tests.lua at line 1000
App.screen.check(y, 'ghi ', 'F - test_pagedown_can_start_from_middle_of_long_wrapping_line/baseline/screen:3')App.screen.check(y, 'ghi ', 'baseline/screen:3') - replacement in text_tests.lua at line 1003
check_eq(Editor_state.screen_top1.line, 1, 'F - test_pagedown_can_start_from_middle_of_long_wrapping_line/screen_top:line')check_eq(Editor_state.screen_top1.pos, 9, 'F - test_pagedown_can_start_from_middle_of_long_wrapping_line/screen_top:pos')check_eq(Editor_state.screen_top1.line, 1, 'screen_top:line')check_eq(Editor_state.screen_top1.pos, 9, 'screen_top:pos') - replacement in text_tests.lua at line 1006
App.screen.check(y, 'ghi ', 'F - test_pagedown_can_start_from_middle_of_long_wrapping_line/screen:1')App.screen.check(y, 'ghi ', 'screen:1') - replacement in text_tests.lua at line 1008
App.screen.check(y, 'jkl ', 'F - test_pagedown_can_start_from_middle_of_long_wrapping_line/screen:2')App.screen.check(y, 'jkl ', 'screen:2') - replacement in text_tests.lua at line 1010
App.screen.check(y, 'mno ', 'F - test_pagedown_can_start_from_middle_of_long_wrapping_line/screen:3')App.screen.check(y, 'mno ', 'screen:3') - edit in text_tests.lua at line 1014
io.write('\ntest_pagedown_never_moves_up') - replacement in text_tests.lua at line 1025
check_eq(Editor_state.screen_top1.line, 1, 'F - test_pagedown_never_moves_up/screen_top:line')check_eq(Editor_state.screen_top1.pos, 9, 'F - test_pagedown_never_moves_up/screen_top:pos')check_eq(Editor_state.screen_top1.line, 1, 'screen_top:line')check_eq(Editor_state.screen_top1.pos, 9, 'screen_top:pos') - edit in text_tests.lua at line 1030
io.write('\ntest_down_arrow_moves_cursor') - replacement in text_tests.lua at line 1040
App.screen.check(y, 'abc', 'F - test_down_arrow_moves_cursor/baseline/screen:1')App.screen.check(y, 'abc', 'baseline/screen:1') - replacement in text_tests.lua at line 1042
App.screen.check(y, 'def', 'F - test_down_arrow_moves_cursor/baseline/screen:2')App.screen.check(y, 'def', 'baseline/screen:2') - replacement in text_tests.lua at line 1044
App.screen.check(y, 'ghi', 'F - test_down_arrow_moves_cursor/baseline/screen:3')App.screen.check(y, 'ghi', 'baseline/screen:3') - replacement in text_tests.lua at line 1047
check_eq(Editor_state.screen_top1.line, 1, 'F - test_down_arrow_moves_cursor/screen_top')check_eq(Editor_state.cursor1.line, 2, 'F - test_down_arrow_moves_cursor/cursor')check_eq(Editor_state.screen_top1.line, 1, 'screen_top')check_eq(Editor_state.cursor1.line, 2, 'cursor') - replacement in text_tests.lua at line 1051
App.screen.check(y, 'abc', 'F - test_down_arrow_moves_cursor/screen:1')App.screen.check(y, 'abc', 'screen:1') - replacement in text_tests.lua at line 1053
App.screen.check(y, 'def', 'F - test_down_arrow_moves_cursor/screen:2')App.screen.check(y, 'def', 'screen:2') - replacement in text_tests.lua at line 1055
App.screen.check(y, 'ghi', 'F - test_down_arrow_moves_cursor/screen:3')App.screen.check(y, 'ghi', 'screen:3') - edit in text_tests.lua at line 1059
io.write('\ntest_down_arrow_scrolls_down_by_one_line') - replacement in text_tests.lua at line 1069
App.screen.check(y, 'abc', 'F - test_down_arrow_scrolls_down_by_one_line/baseline/screen:1')App.screen.check(y, 'abc', 'baseline/screen:1') - replacement in text_tests.lua at line 1071
App.screen.check(y, 'def', 'F - test_down_arrow_scrolls_down_by_one_line/baseline/screen:2')App.screen.check(y, 'def', 'baseline/screen:2') - replacement in text_tests.lua at line 1073
App.screen.check(y, 'ghi', 'F - test_down_arrow_scrolls_down_by_one_line/baseline/screen:3')App.screen.check(y, 'ghi', 'baseline/screen:3') - replacement in text_tests.lua at line 1076
check_eq(Editor_state.screen_top1.line, 2, 'F - test_down_arrow_scrolls_down_by_one_line/screen_top')check_eq(Editor_state.cursor1.line, 4, 'F - test_down_arrow_scrolls_down_by_one_line/cursor')check_eq(Editor_state.screen_top1.line, 2, 'screen_top')check_eq(Editor_state.cursor1.line, 4, 'cursor') - replacement in text_tests.lua at line 1079
App.screen.check(y, 'def', 'F - test_down_arrow_scrolls_down_by_one_line/screen:1')App.screen.check(y, 'def', 'screen:1') - replacement in text_tests.lua at line 1081
App.screen.check(y, 'ghi', 'F - test_down_arrow_scrolls_down_by_one_line/screen:2')App.screen.check(y, 'ghi', 'screen:2') - replacement in text_tests.lua at line 1083
App.screen.check(y, 'jkl', 'F - test_down_arrow_scrolls_down_by_one_line/screen:3')App.screen.check(y, 'jkl', 'screen:3') - edit in text_tests.lua at line 1087
io.write('\ntest_down_arrow_scrolls_down_by_one_screen_line') - replacement in text_tests.lua at line 1097
App.screen.check(y, 'abc', 'F - test_down_arrow_scrolls_down_by_one_screen_line/baseline/screen:1')App.screen.check(y, 'abc', 'baseline/screen:1') - replacement in text_tests.lua at line 1099
App.screen.check(y, 'def', 'F - test_down_arrow_scrolls_down_by_one_screen_line/baseline/screen:2')App.screen.check(y, 'def', 'baseline/screen:2') - replacement in text_tests.lua at line 1101
App.screen.check(y, 'ghi ', 'F - test_down_arrow_scrolls_down_by_one_screen_line/baseline/screen:3') -- line wrapping includes trailing whitespaceApp.screen.check(y, 'ghi ', 'baseline/screen:3') -- line wrapping includes trailing whitespace - replacement in text_tests.lua at line 1104
check_eq(Editor_state.screen_top1.line, 2, 'F - test_down_arrow_scrolls_down_by_one_screen_line/screen_top')check_eq(Editor_state.cursor1.line, 3, 'F - test_down_arrow_scrolls_down_by_one_screen_line/cursor:line')check_eq(Editor_state.cursor1.pos, 5, 'F - test_down_arrow_scrolls_down_by_one_screen_line/cursor:pos')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, 5, 'cursor:pos') - replacement in text_tests.lua at line 1108
App.screen.check(y, 'def', 'F - test_down_arrow_scrolls_down_by_one_screen_line/screen:1')App.screen.check(y, 'def', 'screen:1') - replacement in text_tests.lua at line 1110
App.screen.check(y, 'ghi ', 'F - test_down_arrow_scrolls_down_by_one_screen_line/screen:2')App.screen.check(y, 'ghi ', 'screen:2') - replacement in text_tests.lua at line 1112
App.screen.check(y, 'jkl', 'F - test_down_arrow_scrolls_down_by_one_screen_line/screen:3')App.screen.check(y, 'jkl', 'screen:3') - edit in text_tests.lua at line 1116
io.write('\ntest_down_arrow_scrolls_down_by_one_screen_line_after_splitting_within_word') - replacement in text_tests.lua at line 1126
App.screen.check(y, 'abc', 'F - test_down_arrow_scrolls_down_by_one_screen_line_after_splitting_within_word/baseline/screen:1')App.screen.check(y, 'abc', 'baseline/screen:1') - replacement in text_tests.lua at line 1128
App.screen.check(y, 'def', 'F - test_down_arrow_scrolls_down_by_one_screen_line_after_splitting_within_word/baseline/screen:2')App.screen.check(y, 'def', 'baseline/screen:2') - replacement in text_tests.lua at line 1130
App.screen.check(y, 'ghij', 'F - test_down_arrow_scrolls_down_by_one_screen_line_after_splitting_within_word/baseline/screen:3')App.screen.check(y, 'ghij', 'baseline/screen:3') - replacement in text_tests.lua at line 1133
check_eq(Editor_state.screen_top1.line, 2, 'F - test_down_arrow_scrolls_down_by_one_screen_line_after_splitting_within_word/screen_top')check_eq(Editor_state.cursor1.line, 3, 'F - test_down_arrow_scrolls_down_by_one_screen_line_after_splitting_within_word/cursor:line')check_eq(Editor_state.cursor1.pos, 5, 'F - test_down_arrow_scrolls_down_by_one_screen_line_after_splitting_within_word/cursor:pos')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, 5, 'cursor:pos') - replacement in text_tests.lua at line 1137
App.screen.check(y, 'def', 'F - test_down_arrow_scrolls_down_by_one_screen_line_after_splitting_within_word/screen:1')App.screen.check(y, 'def', 'screen:1') - replacement in text_tests.lua at line 1139
App.screen.check(y, 'ghij', 'F - test_down_arrow_scrolls_down_by_one_screen_line_after_splitting_within_word/screen:2')App.screen.check(y, 'ghij', 'screen:2') - replacement in text_tests.lua at line 1141
App.screen.check(y, 'kl', 'F - test_down_arrow_scrolls_down_by_one_screen_line_after_splitting_within_word/screen:3')App.screen.check(y, 'kl', 'screen:3') - edit in text_tests.lua at line 1145
io.write('\ntest_pagedown_followed_by_down_arrow_does_not_scroll_screen_up') - replacement in text_tests.lua at line 1154
App.screen.check(y, 'abc', 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/baseline/screen:1')App.screen.check(y, 'abc', 'baseline/screen:1') - replacement in text_tests.lua at line 1156
App.screen.check(y, 'def', 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/baseline/screen:2')App.screen.check(y, 'def', 'baseline/screen:2') - replacement in text_tests.lua at line 1158
App.screen.check(y, 'ghij', 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/baseline/screen:3')App.screen.check(y, 'ghij', 'baseline/screen:3') - replacement in text_tests.lua at line 1161
check_eq(Editor_state.screen_top1.line, 3, 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/baseline2/screen_top')check_eq(Editor_state.cursor1.line, 3, 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/baseline2/cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/baseline2/cursor:pos')check_eq(Editor_state.screen_top1.line, 3, 'baseline2/screen_top')check_eq(Editor_state.cursor1.line, 3, 'baseline2/cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'baseline2/cursor:pos') - replacement in text_tests.lua at line 1166
check_eq(Editor_state.screen_top1.line, 3, 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/screen_top')check_eq(Editor_state.cursor1.line, 3, 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/cursor:line')check_eq(Editor_state.cursor1.pos, 5, 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/cursor:pos')check_eq(Editor_state.screen_top1.line, 3, 'screen_top')check_eq(Editor_state.cursor1.line, 3, 'cursor:line')check_eq(Editor_state.cursor1.pos, 5, 'cursor:pos') - replacement in text_tests.lua at line 1170
App.screen.check(y, 'ghij', 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/screen:1')App.screen.check(y, 'ghij', 'screen:1') - replacement in text_tests.lua at line 1172
App.screen.check(y, 'kl', 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/screen:2')App.screen.check(y, 'kl', 'screen:2') - replacement in text_tests.lua at line 1174
App.screen.check(y, 'mno', 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/screen:3')App.screen.check(y, 'mno', 'screen:3') - edit in text_tests.lua at line 1178
io.write('\ntest_up_arrow_moves_cursor') - replacement in text_tests.lua at line 1188
App.screen.check(y, 'abc', 'F - test_up_arrow_moves_cursor/baseline/screen:1')App.screen.check(y, 'abc', 'baseline/screen:1') - replacement in text_tests.lua at line 1190
App.screen.check(y, 'def', 'F - test_up_arrow_moves_cursor/baseline/screen:2')App.screen.check(y, 'def', 'baseline/screen:2') - replacement in text_tests.lua at line 1192
App.screen.check(y, 'ghi', 'F - test_up_arrow_moves_cursor/baseline/screen:3')App.screen.check(y, 'ghi', 'baseline/screen:3') - replacement in text_tests.lua at line 1195
check_eq(Editor_state.screen_top1.line, 1, 'F - test_up_arrow_moves_cursor/screen_top')check_eq(Editor_state.cursor1.line, 2, 'F - test_up_arrow_moves_cursor/cursor')check_eq(Editor_state.screen_top1.line, 1, 'screen_top')check_eq(Editor_state.cursor1.line, 2, 'cursor') - replacement in text_tests.lua at line 1199
App.screen.check(y, 'abc', 'F - test_up_arrow_moves_cursor/screen:1')App.screen.check(y, 'abc', 'screen:1') - replacement in text_tests.lua at line 1201
App.screen.check(y, 'def', 'F - test_up_arrow_moves_cursor/screen:2')App.screen.check(y, 'def', 'screen:2') - replacement in text_tests.lua at line 1203
App.screen.check(y, 'ghi', 'F - test_up_arrow_moves_cursor/screen:3')App.screen.check(y, 'ghi', 'screen:3') - edit in text_tests.lua at line 1207
io.write('\ntest_up_arrow_scrolls_up_by_one_line') - replacement in text_tests.lua at line 1217
App.screen.check(y, 'def', 'F - test_up_arrow_scrolls_up_by_one_line/baseline/screen:1')App.screen.check(y, 'def', 'baseline/screen:1') - replacement in text_tests.lua at line 1219
App.screen.check(y, 'ghi', 'F - test_up_arrow_scrolls_up_by_one_line/baseline/screen:2')App.screen.check(y, 'ghi', 'baseline/screen:2') - replacement in text_tests.lua at line 1221
App.screen.check(y, 'jkl', 'F - test_up_arrow_scrolls_up_by_one_line/baseline/screen:3')App.screen.check(y, 'jkl', 'baseline/screen:3') - replacement in text_tests.lua at line 1224
check_eq(Editor_state.screen_top1.line, 1, 'F - test_up_arrow_scrolls_up_by_one_line/screen_top')check_eq(Editor_state.cursor1.line, 1, 'F - test_up_arrow_scrolls_up_by_one_line/cursor')check_eq(Editor_state.screen_top1.line, 1, 'screen_top')check_eq(Editor_state.cursor1.line, 1, 'cursor') - replacement in text_tests.lua at line 1227
App.screen.check(y, 'abc', 'F - test_up_arrow_scrolls_up_by_one_line/screen:1')App.screen.check(y, 'abc', 'screen:1') - replacement in text_tests.lua at line 1229
App.screen.check(y, 'def', 'F - test_up_arrow_scrolls_up_by_one_line/screen:2')App.screen.check(y, 'def', 'screen:2') - replacement in text_tests.lua at line 1231
App.screen.check(y, 'ghi', 'F - test_up_arrow_scrolls_up_by_one_line/screen:3')App.screen.check(y, 'ghi', 'screen:3') - edit in text_tests.lua at line 1235
io.write('\ntest_up_arrow_scrolls_up_by_one_screen_line') - replacement in text_tests.lua at line 1245
App.screen.check(y, 'jkl', 'F - test_up_arrow_scrolls_up_by_one_screen_line/baseline/screen:1')App.screen.check(y, 'jkl', 'baseline/screen:1') - replacement in text_tests.lua at line 1247
App.screen.check(y, 'mno', 'F - test_up_arrow_scrolls_up_by_one_screen_line/baseline/screen:2')App.screen.check(y, 'mno', 'baseline/screen:2') - replacement in text_tests.lua at line 1251
App.screen.check(y, 'ghi ', 'F - test_up_arrow_scrolls_up_by_one_screen_line/screen:1')App.screen.check(y, 'ghi ', 'screen:1') - replacement in text_tests.lua at line 1253
App.screen.check(y, 'jkl', 'F - test_up_arrow_scrolls_up_by_one_screen_line/screen:2')App.screen.check(y, 'jkl', 'screen:2') - replacement in text_tests.lua at line 1255
App.screen.check(y, 'mno', 'F - test_up_arrow_scrolls_up_by_one_screen_line/screen:3')check_eq(Editor_state.screen_top1.line, 3, 'F - test_up_arrow_scrolls_up_by_one_screen_line/screen_top')check_eq(Editor_state.screen_top1.pos, 1, 'F - test_up_arrow_scrolls_up_by_one_screen_line/screen_top')check_eq(Editor_state.cursor1.line, 3, 'F - test_up_arrow_scrolls_up_by_one_screen_line/cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'F - test_up_arrow_scrolls_up_by_one_screen_line/cursor:pos')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, 1, 'cursor:pos') - edit in text_tests.lua at line 1263
io.write('\ntest_up_arrow_scrolls_up_to_final_screen_line') - replacement in text_tests.lua at line 1273
App.screen.check(y, 'ghi', 'F - test_up_arrow_scrolls_up_to_final_screen_line/baseline/screen:1')App.screen.check(y, 'ghi', 'baseline/screen:1') - replacement in text_tests.lua at line 1275
App.screen.check(y, 'jkl', 'F - test_up_arrow_scrolls_up_to_final_screen_line/baseline/screen:2')App.screen.check(y, 'jkl', 'baseline/screen:2') - replacement in text_tests.lua at line 1277
App.screen.check(y, 'mno', 'F - test_up_arrow_scrolls_up_to_final_screen_line/baseline/screen:3')App.screen.check(y, 'mno', 'baseline/screen:3') - replacement in text_tests.lua at line 1281
App.screen.check(y, 'def', 'F - test_up_arrow_scrolls_up_to_final_screen_line/screen:1')App.screen.check(y, 'def', 'screen:1') - replacement in text_tests.lua at line 1283
App.screen.check(y, 'ghi', 'F - test_up_arrow_scrolls_up_to_final_screen_line/screen:2')App.screen.check(y, 'ghi', 'screen:2') - replacement in text_tests.lua at line 1285
App.screen.check(y, 'jkl', 'F - test_up_arrow_scrolls_up_to_final_screen_line/screen:3')check_eq(Editor_state.screen_top1.line, 1, 'F - test_up_arrow_scrolls_up_to_final_screen_line/screen_top')check_eq(Editor_state.screen_top1.pos, 5, 'F - test_up_arrow_scrolls_up_to_final_screen_line/screen_top')check_eq(Editor_state.cursor1.line, 1, 'F - test_up_arrow_scrolls_up_to_final_screen_line/cursor:line')check_eq(Editor_state.cursor1.pos, 5, 'F - test_up_arrow_scrolls_up_to_final_screen_line/cursor:pos')App.screen.check(y, 'jkl', 'screen:3')check_eq(Editor_state.screen_top1.line, 1, 'screen_top:line')check_eq(Editor_state.screen_top1.pos, 5, 'screen_top:pos')check_eq(Editor_state.cursor1.line, 1, 'cursor:line')check_eq(Editor_state.cursor1.pos, 5, 'cursor:pos') - edit in text_tests.lua at line 1293
io.write('\ntest_up_arrow_scrolls_up_to_empty_line') - replacement in text_tests.lua at line 1303
App.screen.check(y, 'abc', 'F - test_up_arrow_scrolls_up_to_empty_line/baseline/screen:1')App.screen.check(y, 'abc', 'baseline/screen:1') - replacement in text_tests.lua at line 1305
App.screen.check(y, 'def', 'F - test_up_arrow_scrolls_up_to_empty_line/baseline/screen:2')App.screen.check(y, 'def', 'baseline/screen:2') - replacement in text_tests.lua at line 1307
App.screen.check(y, 'ghi', 'F - test_up_arrow_scrolls_up_to_empty_line/baseline/screen:3')App.screen.check(y, 'ghi', 'baseline/screen:3') - replacement in text_tests.lua at line 1310
check_eq(Editor_state.screen_top1.line, 1, 'F - test_up_arrow_scrolls_up_to_empty_line/screen_top')check_eq(Editor_state.cursor1.line, 1, 'F - test_up_arrow_scrolls_up_to_empty_line/cursor')check_eq(Editor_state.screen_top1.line, 1, 'screen_top')check_eq(Editor_state.cursor1.line, 1, 'cursor') - replacement in text_tests.lua at line 1315
App.screen.check(y, 'abc', 'F - test_up_arrow_scrolls_up_to_empty_line/screen:2')App.screen.check(y, 'abc', 'screen:2') - replacement in text_tests.lua at line 1317
App.screen.check(y, 'def', 'F - test_up_arrow_scrolls_up_to_empty_line/screen:3')App.screen.check(y, 'def', 'screen:3') - edit in text_tests.lua at line 1321
io.write('\ntest_pageup') - replacement in text_tests.lua at line 1331
App.screen.check(y, 'def', 'F - test_pageup/baseline/screen:1')App.screen.check(y, 'def', 'baseline/screen:1') - replacement in text_tests.lua at line 1333
App.screen.check(y, 'ghi', 'F - test_pageup/baseline/screen:2')App.screen.check(y, 'ghi', 'baseline/screen:2') - replacement in text_tests.lua at line 1336
check_eq(Editor_state.screen_top1.line, 1, 'F - test_pageup/screen_top')check_eq(Editor_state.cursor1.line, 1, 'F - test_pageup/cursor')check_eq(Editor_state.screen_top1.line, 1, 'screen_top')check_eq(Editor_state.cursor1.line, 1, 'cursor') - replacement in text_tests.lua at line 1339
App.screen.check(y, 'abc', 'F - test_pageup/screen:1')App.screen.check(y, 'abc', 'screen:1') - replacement in text_tests.lua at line 1341
App.screen.check(y, 'def', 'F - test_pageup/screen:2')App.screen.check(y, 'def', 'screen:2') - edit in text_tests.lua at line 1345
io.write('\ntest_pageup_scrolls_up_by_screen_line') - replacement in text_tests.lua at line 1355
App.screen.check(y, 'ghi', 'F - test_pageup_scrolls_up_by_screen_line/baseline/screen:1')App.screen.check(y, 'ghi', 'baseline/screen:1') - replacement in text_tests.lua at line 1357
App.screen.check(y, 'jkl', 'F - test_pageup_scrolls_up_by_screen_line/baseline/screen:2')App.screen.check(y, 'jkl', 'baseline/screen:2') - replacement in text_tests.lua at line 1359
App.screen.check(y, 'mno', 'F - test_pageup_scrolls_up_by_screen_line/baseline/screen:3') -- line wrapping includes trailing whitespaceApp.screen.check(y, 'mno', 'baseline/screen:3') -- line wrapping includes trailing whitespace - replacement in text_tests.lua at line 1362
check_eq(Editor_state.screen_top1.line, 1, 'F - test_pageup_scrolls_up_by_screen_line/screen_top')check_eq(Editor_state.cursor1.line, 1, 'F - test_pageup_scrolls_up_by_screen_line/cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'F - test_pageup_scrolls_up_by_screen_line/cursor:pos')check_eq(Editor_state.screen_top1.line, 1, 'screen_top')check_eq(Editor_state.cursor1.line, 1, 'cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'cursor:pos') - replacement in text_tests.lua at line 1366
App.screen.check(y, 'abc ', 'F - test_pageup_scrolls_up_by_screen_line/screen:1')App.screen.check(y, 'abc ', 'screen:1') - replacement in text_tests.lua at line 1368
App.screen.check(y, 'def', 'F - test_pageup_scrolls_up_by_screen_line/screen:2')App.screen.check(y, 'def', 'screen:2') - replacement in text_tests.lua at line 1370
App.screen.check(y, 'ghi', 'F - test_pageup_scrolls_up_by_screen_line/screen:3')App.screen.check(y, 'ghi', 'screen:3') - edit in text_tests.lua at line 1374
io.write('\ntest_pageup_scrolls_up_from_middle_screen_line') - replacement in text_tests.lua at line 1384
App.screen.check(y, 'jkl', 'F - test_pageup_scrolls_up_from_middle_screen_line/baseline/screen:2')App.screen.check(y, 'jkl', 'baseline/screen:2') - replacement in text_tests.lua at line 1386
App.screen.check(y, 'mno', 'F - test_pageup_scrolls_up_from_middle_screen_line/baseline/screen:3') -- line wrapping includes trailing whitespaceApp.screen.check(y, 'mno', 'baseline/screen:3') -- line wrapping includes trailing whitespace - replacement in text_tests.lua at line 1389
check_eq(Editor_state.screen_top1.line, 1, 'F - test_pageup_scrolls_up_from_middle_screen_line/screen_top')check_eq(Editor_state.cursor1.line, 1, 'F - test_pageup_scrolls_up_from_middle_screen_line/cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'F - test_pageup_scrolls_up_from_middle_screen_line/cursor:pos')check_eq(Editor_state.screen_top1.line, 1, 'screen_top')check_eq(Editor_state.cursor1.line, 1, 'cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'cursor:pos') - replacement in text_tests.lua at line 1393
App.screen.check(y, 'abc ', 'F - test_pageup_scrolls_up_from_middle_screen_line/screen:1')App.screen.check(y, 'abc ', 'screen:1') - replacement in text_tests.lua at line 1395
App.screen.check(y, 'def', 'F - test_pageup_scrolls_up_from_middle_screen_line/screen:2')App.screen.check(y, 'def', 'screen:2') - replacement in text_tests.lua at line 1397
App.screen.check(y, 'ghi ', 'F - test_pageup_scrolls_up_from_middle_screen_line/screen:3')App.screen.check(y, 'ghi ', 'screen:3') - edit in text_tests.lua at line 1401
io.write('\ntest_enter_on_bottom_line_scrolls_down') - replacement in text_tests.lua at line 1411
App.screen.check(y, 'abc', 'F - test_enter_on_bottom_line_scrolls_down/baseline/screen:1')App.screen.check(y, 'abc', 'baseline/screen:1') - replacement in text_tests.lua at line 1413
App.screen.check(y, 'def', 'F - test_enter_on_bottom_line_scrolls_down/baseline/screen:2')App.screen.check(y, 'def', 'baseline/screen:2') - replacement in text_tests.lua at line 1415
App.screen.check(y, 'ghi', 'F - test_enter_on_bottom_line_scrolls_down/baseline/screen:3')App.screen.check(y, 'ghi', 'baseline/screen:3') - replacement in text_tests.lua at line 1418
check_eq(Editor_state.screen_top1.line, 2, 'F - test_enter_on_bottom_line_scrolls_down/screen_top')check_eq(Editor_state.cursor1.line, 4, 'F - test_enter_on_bottom_line_scrolls_down/cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'F - test_enter_on_bottom_line_scrolls_down/cursor:pos')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') - replacement in text_tests.lua at line 1422
App.screen.check(y, 'def', 'F - test_enter_on_bottom_line_scrolls_down/screen:1')App.screen.check(y, 'def', 'screen:1') - replacement in text_tests.lua at line 1424
App.screen.check(y, 'g', 'F - test_enter_on_bottom_line_scrolls_down/screen:2')App.screen.check(y, 'g', 'screen:2') - replacement in text_tests.lua at line 1426
App.screen.check(y, 'hi', 'F - test_enter_on_bottom_line_scrolls_down/screen:3')App.screen.check(y, 'hi', 'screen:3') - edit in text_tests.lua at line 1430
io.write('\ntest_enter_on_final_line_avoids_scrolling_down_when_not_at_bottom') - replacement in text_tests.lua at line 1440
App.screen.check(y, 'jkl', 'F - test_enter_on_final_line_avoids_scrolling_down_when_not_at_bottom/baseline/screen:1')App.screen.check(y, 'jkl', 'baseline/screen:1') - replacement in text_tests.lua at line 1443
check_eq(Editor_state.screen_top1.line, 4, 'F - test_enter_on_final_line_avoids_scrolling_down_when_not_at_bottom/screen_top')check_eq(Editor_state.cursor1.line, 5, 'F - test_enter_on_final_line_avoids_scrolling_down_when_not_at_bottom/cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'F - test_enter_on_final_line_avoids_scrolling_down_when_not_at_bottom/cursor:pos')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') - replacement in text_tests.lua at line 1447
App.screen.check(y, 'j', 'F - test_enter_on_final_line_avoids_scrolling_down_when_not_at_bottom/screen:1')App.screen.check(y, 'j', 'screen:1') - replacement in text_tests.lua at line 1449
App.screen.check(y, 'kl', 'F - test_enter_on_final_line_avoids_scrolling_down_when_not_at_bottom/screen:2')App.screen.check(y, 'kl', 'screen:2') - edit in text_tests.lua at line 1453
io.write('\ntest_inserting_text_on_final_line_avoids_scrolling_down_when_not_at_bottom') - replacement in text_tests.lua at line 1464
check_eq(Editor_state.screen_top1.line, 2, 'F - test_inserting_text_on_final_line_avoids_scrolling_down_when_not_at_bottom/screen_top')check_eq(Editor_state.cursor1.line, 2, 'F - test_inserting_text_on_final_line_avoids_scrolling_down_when_not_at_bottom/cursor:line')check_eq(Editor_state.cursor1.pos, 2, 'F - test_inserting_text_on_final_line_avoids_scrolling_down_when_not_at_bottom/cursor:pos')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') - replacement in text_tests.lua at line 1468
App.screen.check(y, 'a', 'F - test_inserting_text_on_final_line_avoids_scrolling_down_when_not_at_bottom/screen:1')App.screen.check(y, 'a', 'screen:1') - edit in text_tests.lua at line 1472
io.write('\ntest_typing_on_bottom_line_scrolls_down') - replacement in text_tests.lua at line 1482
App.screen.check(y, 'abc', 'F - test_typing_on_bottom_line_scrolls_down/baseline/screen:1')App.screen.check(y, 'abc', 'baseline/screen:1') - replacement in text_tests.lua at line 1484
App.screen.check(y, 'def', 'F - test_typing_on_bottom_line_scrolls_down/baseline/screen:2')App.screen.check(y, 'def', 'baseline/screen:2') - replacement in text_tests.lua at line 1486
App.screen.check(y, 'ghi', 'F - test_typing_on_bottom_line_scrolls_down/baseline/screen:3')App.screen.check(y, 'ghi', 'baseline/screen:3') - replacement in text_tests.lua at line 1491
check_eq(Editor_state.screen_top1.line, 2, 'F - test_typing_on_bottom_line_scrolls_down/screen_top')check_eq(Editor_state.cursor1.line, 3, 'F - test_typing_on_bottom_line_scrolls_down/cursor:line')check_eq(Editor_state.cursor1.pos, 7, 'F - test_typing_on_bottom_line_scrolls_down/cursor:pos')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') - replacement in text_tests.lua at line 1495
App.screen.check(y, 'def', 'F - test_typing_on_bottom_line_scrolls_down/screen:1')App.screen.check(y, 'def', 'screen:1') - replacement in text_tests.lua at line 1497
App.screen.check(y, 'ghij', 'F - test_typing_on_bottom_line_scrolls_down/screen:2')App.screen.check(y, 'ghij', 'screen:2') - replacement in text_tests.lua at line 1499
App.screen.check(y, 'kl', 'F - test_typing_on_bottom_line_scrolls_down/screen:3')App.screen.check(y, 'kl', 'screen:3') - edit in text_tests.lua at line 1503
io.write('\ntest_left_arrow_scrolls_up_in_wrapped_line') - replacement in text_tests.lua at line 1514
App.screen.check(y, 'jkl', 'F - test_left_arrow_scrolls_up_in_wrapped_line/baseline/screen:1')App.screen.check(y, 'jkl', 'baseline/screen:1') - replacement in text_tests.lua at line 1516
App.screen.check(y, 'mno', 'F - test_left_arrow_scrolls_up_in_wrapped_line/baseline/screen:2')App.screen.check(y, 'mno', 'baseline/screen:2') - replacement in text_tests.lua at line 1520
App.screen.check(y, 'ghi ', 'F - test_left_arrow_scrolls_up_in_wrapped_line/screen:1')App.screen.check(y, 'ghi ', 'screen:1') - replacement in text_tests.lua at line 1522
App.screen.check(y, 'jkl', 'F - test_left_arrow_scrolls_up_in_wrapped_line/screen:2')App.screen.check(y, 'jkl', 'screen:2') - replacement in text_tests.lua at line 1524
App.screen.check(y, 'mno', 'F - test_left_arrow_scrolls_up_in_wrapped_line/screen:3')check_eq(Editor_state.screen_top1.line, 3, 'F - test_left_arrow_scrolls_up_in_wrapped_line/screen_top')check_eq(Editor_state.screen_top1.pos, 1, 'F - test_left_arrow_scrolls_up_in_wrapped_line/screen_top')check_eq(Editor_state.cursor1.line, 3, 'F - test_left_arrow_scrolls_up_in_wrapped_line/cursor:line')check_eq(Editor_state.cursor1.pos, 4, 'F - test_left_arrow_scrolls_up_in_wrapped_line/cursor:pos')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') - edit in text_tests.lua at line 1532
io.write('\ntest_right_arrow_scrolls_down_in_wrapped_line') - replacement in text_tests.lua at line 1543
App.screen.check(y, 'abc', 'F - test_right_arrow_scrolls_down_in_wrapped_line/baseline/screen:1')App.screen.check(y, 'abc', 'baseline/screen:1') - replacement in text_tests.lua at line 1545
App.screen.check(y, 'def', 'F - test_right_arrow_scrolls_down_in_wrapped_line/baseline/screen:2')App.screen.check(y, 'def', 'baseline/screen:2') - replacement in text_tests.lua at line 1547
App.screen.check(y, 'ghi ', 'F - test_right_arrow_scrolls_down_in_wrapped_line/baseline/screen:3') -- line wrapping includes trailing whitespaceApp.screen.check(y, 'ghi ', 'baseline/screen:3') -- line wrapping includes trailing whitespace - replacement in text_tests.lua at line 1550
check_eq(Editor_state.screen_top1.line, 2, 'F - test_right_arrow_scrolls_down_in_wrapped_line/screen_top')check_eq(Editor_state.cursor1.line, 3, 'F - test_right_arrow_scrolls_down_in_wrapped_line/cursor:line')check_eq(Editor_state.cursor1.pos, 6, 'F - test_right_arrow_scrolls_down_in_wrapped_line/cursor:pos')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, 6, 'cursor:pos') - replacement in text_tests.lua at line 1554
App.screen.check(y, 'def', 'F - test_right_arrow_scrolls_down_in_wrapped_line/screen:1')App.screen.check(y, 'def', 'screen:1') - replacement in text_tests.lua at line 1556
App.screen.check(y, 'ghi ', 'F - test_right_arrow_scrolls_down_in_wrapped_line/screen:2')App.screen.check(y, 'ghi ', 'screen:2') - replacement in text_tests.lua at line 1558
App.screen.check(y, 'jkl', 'F - test_right_arrow_scrolls_down_in_wrapped_line/screen:3')App.screen.check(y, 'jkl', 'screen:3') - edit in text_tests.lua at line 1562
io.write('\ntest_home_scrolls_up_in_wrapped_line') - replacement in text_tests.lua at line 1573
App.screen.check(y, 'jkl', 'F - test_home_scrolls_up_in_wrapped_line/baseline/screen:1')App.screen.check(y, 'jkl', 'baseline/screen:1') - replacement in text_tests.lua at line 1575
App.screen.check(y, 'mno', 'F - test_home_scrolls_up_in_wrapped_line/baseline/screen:2')App.screen.check(y, 'mno', 'baseline/screen:2') - replacement in text_tests.lua at line 1579
App.screen.check(y, 'ghi ', 'F - test_home_scrolls_up_in_wrapped_line/screen:1')App.screen.check(y, 'ghi ', 'screen:1') - replacement in text_tests.lua at line 1581
App.screen.check(y, 'jkl', 'F - test_home_scrolls_up_in_wrapped_line/screen:2')App.screen.check(y, 'jkl', 'screen:2') - replacement in text_tests.lua at line 1583
App.screen.check(y, 'mno', 'F - test_home_scrolls_up_in_wrapped_line/screen:3')check_eq(Editor_state.screen_top1.line, 3, 'F - test_home_scrolls_up_in_wrapped_line/screen_top')check_eq(Editor_state.screen_top1.pos, 1, 'F - test_home_scrolls_up_in_wrapped_line/screen_top')check_eq(Editor_state.cursor1.line, 3, 'F - test_home_scrolls_up_in_wrapped_line/cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'F - test_home_scrolls_up_in_wrapped_line/cursor:pos')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, 1, 'cursor:pos') - edit in text_tests.lua at line 1591
io.write('\ntest_end_scrolls_down_in_wrapped_line') - replacement in text_tests.lua at line 1602
App.screen.check(y, 'abc', 'F - test_end_scrolls_down_in_wrapped_line/baseline/screen:1')App.screen.check(y, 'abc', 'baseline/screen:1') - replacement in text_tests.lua at line 1604
App.screen.check(y, 'def', 'F - test_end_scrolls_down_in_wrapped_line/baseline/screen:2')App.screen.check(y, 'def', 'baseline/screen:2') - replacement in text_tests.lua at line 1606
App.screen.check(y, 'ghi ', 'F - test_end_scrolls_down_in_wrapped_line/baseline/screen:3') -- line wrapping includes trailing whitespaceApp.screen.check(y, 'ghi ', 'baseline/screen:3') -- line wrapping includes trailing whitespace - replacement in text_tests.lua at line 1609
check_eq(Editor_state.screen_top1.line, 2, 'F - test_end_scrolls_down_in_wrapped_line/screen_top')check_eq(Editor_state.cursor1.line, 3, 'F - test_end_scrolls_down_in_wrapped_line/cursor:line')check_eq(Editor_state.cursor1.pos, 8, 'F - test_end_scrolls_down_in_wrapped_line/cursor:pos')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, 8, 'cursor:pos') - replacement in text_tests.lua at line 1613
App.screen.check(y, 'def', 'F - test_end_scrolls_down_in_wrapped_line/screen:1')App.screen.check(y, 'def', 'screen:1') - replacement in text_tests.lua at line 1615
App.screen.check(y, 'ghi ', 'F - test_end_scrolls_down_in_wrapped_line/screen:2')App.screen.check(y, 'ghi ', 'screen:2') - replacement in text_tests.lua at line 1617
App.screen.check(y, 'jkl', 'F - test_end_scrolls_down_in_wrapped_line/screen:3')App.screen.check(y, 'jkl', 'screen:3') - edit in text_tests.lua at line 1622
io.write('\ntest_position_cursor_on_recently_edited_wrapping_line') - replacement in text_tests.lua at line 1631
App.screen.check(y, 'abc def ghi ', 'F - test_position_cursor_on_recently_edited_wrapping_line/baseline1/screen:1')App.screen.check(y, 'abc def ghi ', 'baseline1/screen:1') - replacement in text_tests.lua at line 1633
App.screen.check(y, 'jkl mno pqr ', 'F - test_position_cursor_on_recently_edited_wrapping_line/baseline1/screen:2')App.screen.check(y, 'jkl mno pqr ', 'baseline1/screen:2') - replacement in text_tests.lua at line 1635
App.screen.check(y, 'xyz', 'F - test_position_cursor_on_recently_edited_wrapping_line/baseline1/screen:3')App.screen.check(y, 'xyz', 'baseline1/screen:3') - replacement in text_tests.lua at line 1640
check_eq(Editor_state.cursor1.pos, 28, 'F - test_position_cursor_on_recently_edited_wrapping_line/cursor:pos')check_eq(Editor_state.cursor1.pos, 28, 'cursor:pos') - replacement in text_tests.lua at line 1642
App.screen.check(y, 'abc def ghi ', 'F - test_position_cursor_on_recently_edited_wrapping_line/baseline2/screen:1')App.screen.check(y, 'abc def ghi ', 'baseline2/screen:1') - replacement in text_tests.lua at line 1644
App.screen.check(y, 'jkl mno pqr ', 'F - test_position_cursor_on_recently_edited_wrapping_line/baseline2/screen:2')App.screen.check(y, 'jkl mno pqr ', 'baseline2/screen:2') - replacement in text_tests.lua at line 1646
App.screen.check(y, 'stu', 'F - test_position_cursor_on_recently_edited_wrapping_line/baseline2/screen:3')App.screen.check(y, 'stu', 'baseline2/screen:3') - replacement in text_tests.lua at line 1650
check_eq(Editor_state.cursor1.line, 1, 'F - test_position_cursor_on_recently_edited_wrapping_line/cursor:line')check_eq(Editor_state.cursor1.pos, 26, 'F - test_position_cursor_on_recently_edited_wrapping_line/cursor:pos')check_eq(Editor_state.cursor1.line, 1, 'cursor:line')check_eq(Editor_state.cursor1.pos, 26, 'cursor:pos') - edit in text_tests.lua at line 1655
io.write('\ntest_backspace_can_scroll_up') - replacement in text_tests.lua at line 1665
App.screen.check(y, 'def', 'F - test_backspace_can_scroll_up/baseline/screen:1')App.screen.check(y, 'def', 'baseline/screen:1') - replacement in text_tests.lua at line 1667
App.screen.check(y, 'ghi', 'F - test_backspace_can_scroll_up/baseline/screen:2')App.screen.check(y, 'ghi', 'baseline/screen:2') - replacement in text_tests.lua at line 1669
App.screen.check(y, 'jkl', 'F - test_backspace_can_scroll_up/baseline/screen:3')App.screen.check(y, 'jkl', 'baseline/screen:3') - replacement in text_tests.lua at line 1672
check_eq(Editor_state.screen_top1.line, 1, 'F - test_backspace_can_scroll_up/screen_top')check_eq(Editor_state.cursor1.line, 1, 'F - test_backspace_can_scroll_up/cursor')check_eq(Editor_state.screen_top1.line, 1, 'screen_top')check_eq(Editor_state.cursor1.line, 1, 'cursor') - replacement in text_tests.lua at line 1675
App.screen.check(y, 'abcdef', 'F - test_backspace_can_scroll_up/screen:1')App.screen.check(y, 'abcdef', 'screen:1') - replacement in text_tests.lua at line 1677
App.screen.check(y, 'ghi', 'F - test_backspace_can_scroll_up/screen:2')App.screen.check(y, 'ghi', 'screen:2') - replacement in text_tests.lua at line 1679
App.screen.check(y, 'jkl', 'F - test_backspace_can_scroll_up/screen:3')App.screen.check(y, 'jkl', 'screen:3') - edit in text_tests.lua at line 1683
io.write('\ntest_backspace_can_scroll_up_screen_line') - replacement in text_tests.lua at line 1693
App.screen.check(y, 'jkl', 'F - test_backspace_can_scroll_up_screen_line/baseline/screen:1')App.screen.check(y, 'jkl', 'baseline/screen:1') - replacement in text_tests.lua at line 1695
App.screen.check(y, 'mno', 'F - test_backspace_can_scroll_up_screen_line/baseline/screen:2')App.screen.check(y, 'mno', 'baseline/screen:2') - replacement in text_tests.lua at line 1699
App.screen.check(y, 'ghij', 'F - test_backspace_can_scroll_up_screen_line/screen:1')App.screen.check(y, 'ghij', 'screen:1') - replacement in text_tests.lua at line 1701
App.screen.check(y, 'kl', 'F - test_backspace_can_scroll_up_screen_line/screen:2')App.screen.check(y, 'kl', 'screen:2') - replacement in text_tests.lua at line 1703
App.screen.check(y, 'mno', 'F - test_backspace_can_scroll_up_screen_line/screen:3')check_eq(Editor_state.screen_top1.line, 3, 'F - test_backspace_can_scroll_up_screen_line/screen_top')check_eq(Editor_state.screen_top1.pos, 1, 'F - test_backspace_can_scroll_up_screen_line/screen_top')check_eq(Editor_state.cursor1.line, 3, 'F - test_backspace_can_scroll_up_screen_line/cursor:line')check_eq(Editor_state.cursor1.pos, 4, 'F - test_backspace_can_scroll_up_screen_line/cursor:pos')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') - edit in text_tests.lua at line 1711
io.write('\ntest_backspace_past_line_boundary') - replacement in text_tests.lua at line 1719
check_eq(Editor_state.lines[1].data, 'abcdef', "F - test_backspace_past_line_boundary")check_eq(Editor_state.lines[1].data, 'abcdef', 'check') - edit in text_tests.lua at line 1726
io.write('\ntest_backspace_over_selection') - replacement in text_tests.lua at line 1735
check_eq(Editor_state.lines[1].data, 'bc', "F - test_backspace_over_selection/data")check_eq(Editor_state.lines[1].data, 'bc', 'data') - replacement in text_tests.lua at line 1737
check_eq(Editor_state.cursor1.line, 1, "F - test_backspace_over_selection/cursor:line")check_eq(Editor_state.cursor1.pos, 1, "F - test_backspace_over_selection/cursor:pos")check_eq(Editor_state.cursor1.line, 1, 'cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'cursor:pos') - replacement in text_tests.lua at line 1740
check_nil(Editor_state.selection1.line, "F - test_backspace_over_selection/selection")check_nil(Editor_state.selection1.line, 'selection') - edit in text_tests.lua at line 1744
io.write('\ntest_backspace_over_selection_reverse') - replacement in text_tests.lua at line 1753
check_eq(Editor_state.lines[1].data, 'bc', "F - test_backspace_over_selection_reverse/data")check_eq(Editor_state.lines[1].data, 'bc', 'data') - replacement in text_tests.lua at line 1755
check_eq(Editor_state.cursor1.line, 1, "F - test_backspace_over_selection_reverse/cursor:line")check_eq(Editor_state.cursor1.pos, 1, "F - test_backspace_over_selection_reverse/cursor:pos")check_eq(Editor_state.cursor1.line, 1, 'cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'cursor:pos') - replacement in text_tests.lua at line 1758
check_nil(Editor_state.selection1.line, "F - test_backspace_over_selection_reverse/selection")check_nil(Editor_state.selection1.line, 'selection') - edit in text_tests.lua at line 1762
io.write('\ntest_backspace_over_multiple_lines') - replacement in text_tests.lua at line 1771
check_eq(Editor_state.lines[1].data, 'akl', "F - test_backspace_over_multiple_lines/data:1")check_eq(Editor_state.lines[2].data, 'mno', "F - test_backspace_over_multiple_lines/data:2")check_eq(Editor_state.lines[1].data, 'akl', 'data:1')check_eq(Editor_state.lines[2].data, 'mno', 'data:2') - replacement in text_tests.lua at line 1774
check_eq(Editor_state.cursor1.line, 1, "F - test_backspace_over_multiple_lines/cursor:line")check_eq(Editor_state.cursor1.pos, 2, "F - test_backspace_over_multiple_lines/cursor:pos")check_eq(Editor_state.cursor1.line, 1, 'cursor:line')check_eq(Editor_state.cursor1.pos, 2, 'cursor:pos') - replacement in text_tests.lua at line 1777
check_nil(Editor_state.selection1.line, "F - test_backspace_over_multiple_lines/selection")check_nil(Editor_state.selection1.line, 'selection') - edit in text_tests.lua at line 1781
io.write('\ntest_backspace_to_end_of_line') - replacement in text_tests.lua at line 1790
check_eq(Editor_state.lines[1].data, 'a', "F - test_backspace_to_start_of_line/data:1")check_eq(Editor_state.lines[2].data, 'def', "F - test_backspace_to_start_of_line/data:2")check_eq(Editor_state.lines[1].data, 'a', 'data:1')check_eq(Editor_state.lines[2].data, 'def', 'data:2') - replacement in text_tests.lua at line 1793
check_eq(Editor_state.cursor1.line, 1, "F - test_backspace_to_start_of_line/cursor:line")check_eq(Editor_state.cursor1.pos, 2, "F - test_backspace_to_start_of_line/cursor:pos")check_eq(Editor_state.cursor1.line, 1, 'cursor:line')check_eq(Editor_state.cursor1.pos, 2, 'cursor:pos') - replacement in text_tests.lua at line 1796
check_nil(Editor_state.selection1.line, "F - test_backspace_to_start_of_line/selection")check_nil(Editor_state.selection1.line, 'selection') - edit in text_tests.lua at line 1800
io.write('\ntest_backspace_to_start_of_line') - replacement in text_tests.lua at line 1809
check_eq(Editor_state.lines[1].data, 'abc', "F - test_backspace_to_start_of_line/data:1")check_eq(Editor_state.lines[2].data, 'f', "F - test_backspace_to_start_of_line/data:2")check_eq(Editor_state.lines[1].data, 'abc', 'data:1')check_eq(Editor_state.lines[2].data, 'f', 'data:2') - replacement in text_tests.lua at line 1812
check_eq(Editor_state.cursor1.line, 2, "F - test_backspace_to_start_of_line/cursor:line")check_eq(Editor_state.cursor1.pos, 1, "F - test_backspace_to_start_of_line/cursor:pos")check_eq(Editor_state.cursor1.line, 2, 'cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'cursor:pos') - replacement in text_tests.lua at line 1815
check_nil(Editor_state.selection1.line, "F - test_backspace_to_start_of_line/selection")check_nil(Editor_state.selection1.line, 'selection') - edit in text_tests.lua at line 1819
io.write('\ntest_undo_insert_text') - replacement in text_tests.lua at line 1829
check_eq(Editor_state.cursor1.line, 2, 'F - test_undo_insert_text/baseline/cursor:line')check_eq(Editor_state.cursor1.pos, 5, 'F - test_undo_insert_text/baseline/cursor:pos')check_nil(Editor_state.selection1.line, 'F - test_undo_insert_text/baseline/selection:line')check_nil(Editor_state.selection1.pos, 'F - test_undo_insert_text/baseline/selection:pos')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') - replacement in text_tests.lua at line 1834
App.screen.check(y, 'abc', 'F - test_undo_insert_text/baseline/screen:1')App.screen.check(y, 'abc', 'baseline/screen:1') - replacement in text_tests.lua at line 1836
App.screen.check(y, 'defg', 'F - test_undo_insert_text/baseline/screen:2')App.screen.check(y, 'defg', 'baseline/screen:2') - replacement in text_tests.lua at line 1838
App.screen.check(y, 'xyz', 'F - test_undo_insert_text/baseline/screen:3')App.screen.check(y, 'xyz', 'baseline/screen:3') - replacement in text_tests.lua at line 1841
check_eq(Editor_state.cursor1.line, 2, 'F - test_undo_insert_text/cursor:line')check_eq(Editor_state.cursor1.pos, 4, 'F - test_undo_insert_text/cursor:pos')check_nil(Editor_state.selection1.line, 'F - test_undo_insert_text/selection:line')check_nil(Editor_state.selection1.pos, 'F - test_undo_insert_text/selection:pos')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') - replacement in text_tests.lua at line 1846
App.screen.check(y, 'abc', 'F - test_undo_insert_text/screen:1')App.screen.check(y, 'abc', 'screen:1') - replacement in text_tests.lua at line 1848
App.screen.check(y, 'def', 'F - test_undo_insert_text/screen:2')App.screen.check(y, 'def', 'screen:2') - replacement in text_tests.lua at line 1850
App.screen.check(y, 'xyz', 'F - test_undo_insert_text/screen:3')App.screen.check(y, 'xyz', 'screen:3') - edit in text_tests.lua at line 1854
io.write('\ntest_undo_delete_text') - replacement in text_tests.lua at line 1863
check_eq(Editor_state.cursor1.line, 2, 'F - test_undo_delete_text/baseline/cursor:line')check_eq(Editor_state.cursor1.pos, 4, 'F - test_undo_delete_text/baseline/cursor:pos')check_nil(Editor_state.selection1.line, 'F - test_undo_delete_text/baseline/selection:line')check_nil(Editor_state.selection1.pos, 'F - test_undo_delete_text/baseline/selection:pos')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') - replacement in text_tests.lua at line 1868
App.screen.check(y, 'abc', 'F - test_undo_delete_text/baseline/screen:1')App.screen.check(y, 'abc', 'baseline/screen:1') - replacement in text_tests.lua at line 1870
App.screen.check(y, 'def', 'F - test_undo_delete_text/baseline/screen:2')App.screen.check(y, 'def', 'baseline/screen:2') - replacement in text_tests.lua at line 1872
App.screen.check(y, 'xyz', 'F - test_undo_delete_text/baseline/screen:3')App.screen.check(y, 'xyz', 'baseline/screen:3') - replacement in text_tests.lua at line 1876
check_eq(Editor_state.cursor1.line, 2, 'F - test_undo_delete_text/cursor:line')check_eq(Editor_state.cursor1.pos, 5, 'F - test_undo_delete_text/cursor:pos')check_nil(Editor_state.selection1.line, 'F - test_undo_delete_text/selection:line')check_nil(Editor_state.selection1.pos, 'F - test_undo_delete_text/selection:pos')--? check_eq(Editor_state.selection1.line, 2, 'F - test_undo_delete_text/selection:line')--? check_eq(Editor_state.selection1.pos, 4, 'F - test_undo_delete_text/selection:pos')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') - replacement in text_tests.lua at line 1883
App.screen.check(y, 'abc', 'F - test_undo_delete_text/screen:1')App.screen.check(y, 'abc', 'screen:1') - replacement in text_tests.lua at line 1885
App.screen.check(y, 'defg', 'F - test_undo_delete_text/screen:2')App.screen.check(y, 'defg', 'screen:2') - replacement in text_tests.lua at line 1887
App.screen.check(y, 'xyz', 'F - test_undo_delete_text/screen:3')App.screen.check(y, 'xyz', 'screen:3') - edit in text_tests.lua at line 1891
io.write('\ntest_undo_restores_selection') - replacement in text_tests.lua at line 1903
check_eq(Editor_state.lines[1].data, 'xbc', 'F - test_undo_restores_selection/baseline')check_nil(Editor_state.selection1.line, 'F - test_undo_restores_selection/baseline:selection')check_eq(Editor_state.lines[1].data, 'xbc', 'baseline')check_nil(Editor_state.selection1.line, 'baseline:selection') - replacement in text_tests.lua at line 1909
check_eq(Editor_state.selection1.line, 1, 'F - test_undo_restores_selection/line')check_eq(Editor_state.selection1.pos, 2, 'F - test_undo_restores_selection/pos')check_eq(Editor_state.selection1.line, 1, 'line')check_eq(Editor_state.selection1.pos, 2, 'pos') - edit in text_tests.lua at line 1914
io.write('\ntest_search') - replacement in text_tests.lua at line 1926
check_eq(Editor_state.cursor1.line, 2, 'F - test_search/1/cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'F - test_search/1/cursor:pos')check_eq(Editor_state.cursor1.line, 2, '1/cursor:line')check_eq(Editor_state.cursor1.pos, 1, '1/cursor:pos') - replacement in text_tests.lua at line 1936
check_eq(Editor_state.cursor1.line, 4, 'F - test_search/2/cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'F - test_search/2/cursor:pos')check_eq(Editor_state.cursor1.line, 4, '2/cursor:line')check_eq(Editor_state.cursor1.pos, 1, '2/cursor:pos') - edit in text_tests.lua at line 1941
io.write('\ntest_search_upwards') - replacement in text_tests.lua at line 1954
check_eq(Editor_state.cursor1.line, 1, 'F - test_search_upwards/2/cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'F - test_search_upwards/2/cursor:pos')check_eq(Editor_state.cursor1.line, 1, '2/cursor:line')check_eq(Editor_state.cursor1.pos, 1, '2/cursor:pos') - edit in text_tests.lua at line 1959
io.write('\ntest_search_wrap') - replacement in text_tests.lua at line 1972
check_eq(Editor_state.cursor1.line, 1, 'F - test_search_wrap/1/cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'F - test_search_wrap/1/cursor:pos')check_eq(Editor_state.cursor1.line, 1, '1/cursor:line')check_eq(Editor_state.cursor1.pos, 1, '1/cursor:pos') - edit in text_tests.lua at line 1977
io.write('\ntest_search_wrap_upwards') - replacement in text_tests.lua at line 1990
check_eq(Editor_state.cursor1.line, 1, 'F - test_search_wrap_upwards/1/cursor:line')check_eq(Editor_state.cursor1.pos, 5, 'F - test_search_wrap_upwards/1/cursor:pos')check_eq(Editor_state.cursor1.line, 1, '1/cursor:line')check_eq(Editor_state.cursor1.pos, 5, '1/cursor:pos') - edit in test.lua at line 2
---- Success indicators go to the terminal; failures go to the window.-- I don't know what I am doing. - replacement in test.lua at line 4
if x thenio.write('.')elseif not x then - replacement in test.lua at line 10
if x == nil thenio.write('.')elseif x ~= nil then - replacement in test.lua at line 16
if eq(x, expected) thenio.write('.')elseif not eq(x, expected) then - edit in source_text_tests.lua at line 4
io.write('\ntest_initial_state') - replacement in source_text_tests.lua at line 9
check_eq(#Editor_state.lines, 1, 'F - test_initial_state/#lines')check_eq(Editor_state.cursor1.line, 1, 'F - test_initial_state/cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'F - test_initial_state/cursor:pos')check_eq(Editor_state.screen_top1.line, 1, 'F - test_initial_state/screen_top:line')check_eq(Editor_state.screen_top1.pos, 1, 'F - test_initial_state/screen_top:pos')check_eq(#Editor_state.lines, 1, '#lines')check_eq(Editor_state.cursor1.line, 1, 'cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'cursor:pos')check_eq(Editor_state.screen_top1.line, 1, 'screen_top:line')check_eq(Editor_state.screen_top1.pos, 1, 'screen_top:pos') - edit in source_text_tests.lua at line 17
io.write('\ntest_click_to_create_drawing') - replacement in source_text_tests.lua at line 24
check_eq(#Editor_state.lines, 2, 'F - test_click_to_create_drawing/#lines')check_eq(Editor_state.cursor1.line, 2, 'F - test_click_to_create_drawing/cursor')check_eq(#Editor_state.lines, 2, '#lines')check_eq(Editor_state.cursor1.line, 2, 'cursor') - edit in source_text_tests.lua at line 29
io.write('\ntest_backspace_to_delete_drawing') - replacement in source_text_tests.lua at line 38
check_eq(#Editor_state.lines, 1, 'F - test_backspace_to_delete_drawing/#lines')check_eq(Editor_state.cursor1.line, 1, 'F - test_backspace_to_delete_drawing/cursor')check_eq(#Editor_state.lines, 1, '#lines')check_eq(Editor_state.cursor1.line, 1, 'cursor') - edit in source_text_tests.lua at line 43
io.write('\ntest_backspace_from_start_of_final_line') - replacement in source_text_tests.lua at line 52
check_eq(#Editor_state.lines, 1, 'F - test_backspace_from_start_of_final_line/#lines')check_eq(Editor_state.cursor1.line, 1, 'F - test_backspace_from_start_of_final_line/cursor')check_eq(Editor_state.screen_top1.line, 1, 'F - test_backspace_from_start_of_final_line/screen_top')check_eq(#Editor_state.lines, 1, '#lines')check_eq(Editor_state.cursor1.line, 1, 'cursor')check_eq(Editor_state.screen_top1.line, 1, 'screen_top') - edit in source_text_tests.lua at line 58
io.write('\ntest_insert_first_character') - replacement in source_text_tests.lua at line 65
App.screen.check(y, 'a', 'F - test_insert_first_character/screen:1')App.screen.check(y, 'a', 'screen:1') - edit in source_text_tests.lua at line 69
io.write('\ntest_press_ctrl') - edit in source_text_tests.lua at line 81
io.write('\ntest_move_left') - replacement in source_text_tests.lua at line 88
check_eq(Editor_state.cursor1.pos, 1, 'F - test_move_left')check_eq(Editor_state.cursor1.pos, 1, 'check') - edit in source_text_tests.lua at line 92
io.write('\ntest_move_right') - replacement in source_text_tests.lua at line 99
check_eq(Editor_state.cursor1.pos, 2, 'F - test_move_right')check_eq(Editor_state.cursor1.pos, 2, 'check') - edit in source_text_tests.lua at line 103
io.write('\ntest_move_left_to_previous_line') - replacement in source_text_tests.lua at line 110
check_eq(Editor_state.cursor1.line, 1, 'F - test_move_left_to_previous_line/line')check_eq(Editor_state.cursor1.pos, 4, 'F - test_move_left_to_previous_line/pos') -- past end of linecheck_eq(Editor_state.cursor1.line, 1, 'line')check_eq(Editor_state.cursor1.pos, 4, 'pos') -- past end of line - edit in source_text_tests.lua at line 115
io.write('\ntest_move_right_to_next_line') - replacement in source_text_tests.lua at line 122
check_eq(Editor_state.cursor1.line, 2, 'F - test_move_right_to_next_line/line')check_eq(Editor_state.cursor1.pos, 1, 'F - test_move_right_to_next_line/pos')check_eq(Editor_state.cursor1.line, 2, 'line')check_eq(Editor_state.cursor1.pos, 1, 'pos') - edit in source_text_tests.lua at line 127
io.write('\ntest_move_to_start_of_word') - replacement in source_text_tests.lua at line 134
check_eq(Editor_state.cursor1.pos, 1, 'F - test_move_to_start_of_word')check_eq(Editor_state.cursor1.pos, 1, 'check') - edit in source_text_tests.lua at line 138
io.write('\ntest_move_to_start_of_previous_word') - replacement in source_text_tests.lua at line 145
check_eq(Editor_state.cursor1.pos, 1, 'F - test_move_to_start_of_previous_word')check_eq(Editor_state.cursor1.pos, 1, 'check') - edit in source_text_tests.lua at line 149
io.write('\ntest_skip_to_previous_word') - replacement in source_text_tests.lua at line 156
check_eq(Editor_state.cursor1.pos, 1, 'F - test_skip_to_previous_word')check_eq(Editor_state.cursor1.pos, 1, 'check') - edit in source_text_tests.lua at line 160
io.write('\ntest_skip_past_tab_to_previous_word') - replacement in source_text_tests.lua at line 167
check_eq(Editor_state.cursor1.pos, 9, 'F - test_skip_past_tab_to_previous_word')check_eq(Editor_state.cursor1.pos, 9, 'check') - edit in source_text_tests.lua at line 171
io.write('\ntest_skip_multiple_spaces_to_previous_word') - replacement in source_text_tests.lua at line 178
check_eq(Editor_state.cursor1.pos, 1, 'F - test_skip_multiple_spaces_to_previous_word')check_eq(Editor_state.cursor1.pos, 1, 'check') - edit in source_text_tests.lua at line 182
io.write('\ntest_move_to_start_of_word_on_previous_line') - replacement in source_text_tests.lua at line 189
check_eq(Editor_state.cursor1.line, 1, 'F - test_move_to_start_of_word_on_previous_line/line')check_eq(Editor_state.cursor1.pos, 5, 'F - test_move_to_start_of_word_on_previous_line/pos')check_eq(Editor_state.cursor1.line, 1, 'line')check_eq(Editor_state.cursor1.pos, 5, 'pos') - edit in source_text_tests.lua at line 194
io.write('\ntest_move_past_end_of_word') - replacement in source_text_tests.lua at line 201
check_eq(Editor_state.cursor1.pos, 4, 'F - test_move_past_end_of_word')check_eq(Editor_state.cursor1.pos, 4, 'check') - edit in source_text_tests.lua at line 205
io.write('\ntest_skip_to_next_word') - replacement in source_text_tests.lua at line 212
check_eq(Editor_state.cursor1.pos, 8, 'F - test_skip_to_next_word')check_eq(Editor_state.cursor1.pos, 8, 'check') - edit in source_text_tests.lua at line 216
io.write('\ntest_skip_past_tab_to_next_word') - replacement in source_text_tests.lua at line 223
check_eq(Editor_state.cursor1.pos, 4, 'F - test_skip_past_tab_to_next_word')check_eq(Editor_state.cursor1.pos, 4, 'check') - edit in source_text_tests.lua at line 227
io.write('\ntest_skip_multiple_spaces_to_next_word') - replacement in source_text_tests.lua at line 234
check_eq(Editor_state.cursor1.pos, 9, 'F - test_skip_multiple_spaces_to_next_word')check_eq(Editor_state.cursor1.pos, 9, 'check') - edit in source_text_tests.lua at line 238
io.write('\ntest_move_past_end_of_word_on_next_line') - replacement in source_text_tests.lua at line 245
check_eq(Editor_state.cursor1.line, 2, 'F - test_move_past_end_of_word_on_next_line/line')check_eq(Editor_state.cursor1.pos, 4, 'F - test_move_past_end_of_word_on_next_line/pos')check_eq(Editor_state.cursor1.line, 2, 'line')check_eq(Editor_state.cursor1.pos, 4, 'pos') - edit in source_text_tests.lua at line 250
io.write('\ntest_click_moves_cursor') - replacement in source_text_tests.lua at line 260
check_eq(Editor_state.cursor1.line, 1, 'F - test_click_moves_cursor/cursor:line')check_eq(Editor_state.cursor1.pos, 2, 'F - test_click_moves_cursor/cursor:pos')check_eq(Editor_state.cursor1.line, 1, 'cursor:line')check_eq(Editor_state.cursor1.pos, 2, 'cursor:pos') - replacement in source_text_tests.lua at line 263
check_nil(Editor_state.selection1.line, 'F - test_click_moves_cursor/selection:line')check_nil(Editor_state.selection1.pos, 'F - test_click_moves_cursor/selection:pos')check_nil(Editor_state.selection1.line, 'selection:line')check_nil(Editor_state.selection1.pos, 'selection:pos') - edit in source_text_tests.lua at line 268
io.write('\ntest_click_to_left_of_line') - replacement in source_text_tests.lua at line 280
check_eq(Editor_state.cursor1.line, 1, 'F - test_click_to_left_of_line/cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'F - test_click_to_left_of_line/cursor:pos')check_nil(Editor_state.selection1.line, 'F - test_click_to_left_of_line/selection is empty to avoid perturbing future edits')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 is empty to avoid perturbing future edits') - edit in source_text_tests.lua at line 286
io.write('\ntest_click_takes_margins_into_account') - replacement in source_text_tests.lua at line 299
check_eq(Editor_state.cursor1.line, 1, 'F - test_click_takes_margins_into_account/cursor:line')check_eq(Editor_state.cursor1.pos, 2, 'F - test_click_takes_margins_into_account/cursor:pos')check_nil(Editor_state.selection1.line, 'F - test_click_takes_margins_into_account/selection is empty to avoid perturbing future edits')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 is empty to avoid perturbing future edits') - edit in source_text_tests.lua at line 305
io.write('\ntest_click_on_empty_line') - replacement in source_text_tests.lua at line 317
check_eq(Editor_state.cursor1.line, 1, 'F - test_click_on_empty_line/cursor')check_eq(Editor_state.cursor1.line, 1, 'cursor') - edit in source_text_tests.lua at line 321
io.write('\ntest_draw_text') - replacement in source_text_tests.lua at line 330
App.screen.check(y, 'abc', 'F - test_draw_text/screen:1')App.screen.check(y, 'abc', 'screen:1') - replacement in source_text_tests.lua at line 332
App.screen.check(y, 'def', 'F - test_draw_text/screen:2')App.screen.check(y, 'def', 'screen:2') - replacement in source_text_tests.lua at line 334
App.screen.check(y, 'ghi', 'F - test_draw_text/screen:3')App.screen.check(y, 'ghi', 'screen:3') - edit in source_text_tests.lua at line 338
io.write('\ntest_draw_wrapping_text') - replacement in source_text_tests.lua at line 347
App.screen.check(y, 'abc', 'F - test_draw_wrapping_text/screen:1')App.screen.check(y, 'abc', 'screen:1') - replacement in source_text_tests.lua at line 349
App.screen.check(y, 'de', 'F - test_draw_wrapping_text/screen:2')App.screen.check(y, 'de', 'screen:2') - replacement in source_text_tests.lua at line 351
App.screen.check(y, 'fgh', 'F - test_draw_wrapping_text/screen:3')App.screen.check(y, 'fgh', 'screen:3') - edit in source_text_tests.lua at line 355
io.write('\ntest_draw_word_wrapping_text') - replacement in source_text_tests.lua at line 364
App.screen.check(y, 'abc ', 'F - test_draw_word_wrapping_text/screen:1')App.screen.check(y, 'abc ', 'screen:1') - replacement in source_text_tests.lua at line 366
App.screen.check(y, 'def ', 'F - test_draw_word_wrapping_text/screen:2')App.screen.check(y, 'def ', 'screen:2') - replacement in source_text_tests.lua at line 368
App.screen.check(y, 'ghi', 'F - test_draw_word_wrapping_text/screen:3')App.screen.check(y, 'ghi', 'screen:3') - edit in source_text_tests.lua at line 372
io.write('\ntest_click_on_wrapping_line') - replacement in source_text_tests.lua at line 384
check_eq(Editor_state.cursor1.line, 1, 'F - test_click_on_wrapping_line/cursor:line')check_eq(Editor_state.cursor1.pos, 2, 'F - test_click_on_wrapping_line/cursor:pos')check_nil(Editor_state.selection1.line, 'F - test_click_on_wrapping_line/selection is empty to avoid perturbing future edits')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 is empty to avoid perturbing future edits') - edit in source_text_tests.lua at line 390
io.write('\ntest_click_on_wrapping_line_takes_margins_into_account') - replacement in source_text_tests.lua at line 403
check_eq(Editor_state.cursor1.line, 1, 'F - test_click_on_wrapping_line_takes_margins_into_account/cursor:line')check_eq(Editor_state.cursor1.pos, 2, 'F - test_click_on_wrapping_line_takes_margins_into_account/cursor:pos')check_nil(Editor_state.selection1.line, 'F - test_click_on_wrapping_line_takes_margins_into_account/selection is empty to avoid perturbing future edits')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 is empty to avoid perturbing future edits') - edit in source_text_tests.lua at line 410
io.write('\ntest_draw_text_wrapping_within_word') - replacement in source_text_tests.lua at line 419
App.screen.check(y, 'abcd ', 'F - test_draw_text_wrapping_within_word/screen:1')App.screen.check(y, 'abcd ', 'screen:1') - replacement in source_text_tests.lua at line 421
App.screen.check(y, 'e fgh', 'F - test_draw_text_wrapping_within_word/screen:2')App.screen.check(y, 'e fgh', 'screen:2') - replacement in source_text_tests.lua at line 423
App.screen.check(y, 'ijk', 'F - test_draw_text_wrapping_within_word/screen:3')App.screen.check(y, 'ijk', 'screen:3') - edit in source_text_tests.lua at line 428
io.write('\ntest_draw_wrapping_text_containing_non_ascii') - replacement in source_text_tests.lua at line 437
App.screen.check(y, 'mad', 'F - test_draw_wrapping_text_containing_non_ascii/screen:1')App.screen.check(y, 'mad', 'screen:1') - replacement in source_text_tests.lua at line 439
App.screen.check(y, 'am I', 'F - test_draw_wrapping_text_containing_non_ascii/screen:2')App.screen.check(y, 'am I', 'screen:2') - replacement in source_text_tests.lua at line 441
App.screen.check(y, '’m a', 'F - test_draw_wrapping_text_containing_non_ascii/screen:3')App.screen.check(y, '’m a', 'screen:3') - edit in source_text_tests.lua at line 445
io.write('\ntest_click_on_wrapping_line') - replacement in source_text_tests.lua at line 456
App.screen.check(y, 'madam ', 'F - test_click_on_wrapping_line/baseline/screen:1')App.screen.check(y, 'madam ', 'baseline/screen:1') - replacement in source_text_tests.lua at line 458
App.screen.check(y, "I'm ad", 'F - test_click_on_wrapping_line/baseline/screen:2')App.screen.check(y, "I'm ad", 'baseline/screen:2') - replacement in source_text_tests.lua at line 463
check_eq(Editor_state.cursor1.line, 1, 'F - test_click_on_wrapping_line/cursor:line')check_eq(Editor_state.cursor1.pos, 12, 'F - test_click_on_wrapping_line/cursor:pos')check_eq(Editor_state.cursor1.line, 1, 'cursor:line')check_eq(Editor_state.cursor1.pos, 12, 'cursor:pos') - edit in source_text_tests.lua at line 468
io.write('\ntest_click_on_wrapping_line_rendered_from_partway_at_top_of_screen') - replacement in source_text_tests.lua at line 479
App.screen.check(y, "I'm ad", 'F - test_click_on_wrapping_line_rendered_from_partway_at_top_of_screen/baseline/screen:2')App.screen.check(y, "I'm ad", 'baseline/screen:2') - replacement in source_text_tests.lua at line 484
check_eq(Editor_state.cursor1.line, 1, 'F - test_click_on_wrapping_line_rendered_from_partway_at_top_of_screen/cursor:line')check_eq(Editor_state.cursor1.pos, 12, 'F - test_click_on_wrapping_line_rendered_from_partway_at_top_of_screen/cursor:pos')check_eq(Editor_state.cursor1.line, 1, 'cursor:line')check_eq(Editor_state.cursor1.pos, 12, 'cursor:pos') - edit in source_text_tests.lua at line 489
io.write('\ntest_click_past_end_of_wrapping_line') - replacement in source_text_tests.lua at line 500
App.screen.check(y, 'madam ', 'F - test_click_past_end_of_wrapping_line/baseline/screen:1')App.screen.check(y, 'madam ', 'baseline/screen:1') - replacement in source_text_tests.lua at line 502
App.screen.check(y, "I'm ad", 'F - test_click_past_end_of_wrapping_line/baseline/screen:2')App.screen.check(y, "I'm ad", 'baseline/screen:2') - replacement in source_text_tests.lua at line 504
App.screen.check(y, 'am', 'F - test_click_past_end_of_wrapping_line/baseline/screen:3')App.screen.check(y, 'am', 'baseline/screen:3') - replacement in source_text_tests.lua at line 509
check_eq(Editor_state.cursor1.pos, 15, 'F - test_click_past_end_of_wrapping_line/cursor') -- one more than the number of UTF-8 code-pointscheck_eq(Editor_state.cursor1.pos, 15, 'cursor') -- one more than the number of UTF-8 code-points - edit in source_text_tests.lua at line 513
io.write('\ntest_click_past_end_of_wrapping_line_containing_non_ascii') - replacement in source_text_tests.lua at line 524
App.screen.check(y, 'madam ', 'F - test_click_past_end_of_wrapping_line_containing_non_ascii/baseline/screen:1')App.screen.check(y, 'madam ', 'baseline/screen:1') - replacement in source_text_tests.lua at line 526
App.screen.check(y, 'I’m ad', 'F - test_click_past_end_of_wrapping_line_containing_non_ascii/baseline/screen:2')App.screen.check(y, 'I’m ad', 'baseline/screen:2') - replacement in source_text_tests.lua at line 528
App.screen.check(y, 'am', 'F - test_click_past_end_of_wrapping_line_containing_non_ascii/baseline/screen:3')App.screen.check(y, 'am', 'baseline/screen:3') - replacement in source_text_tests.lua at line 533
check_eq(Editor_state.cursor1.pos, 15, 'F - test_click_past_end_of_wrapping_line_containing_non_ascii/cursor') -- one more than the number of UTF-8 code-pointscheck_eq(Editor_state.cursor1.pos, 15, 'cursor') -- one more than the number of UTF-8 code-points - edit in source_text_tests.lua at line 537
io.write('\ntest_click_past_end_of_word_wrapping_line') - replacement in source_text_tests.lua at line 549
App.screen.check(y, 'the quick brown fox ', 'F - test_click_past_end_of_word_wrapping_line/baseline/screen:1')App.screen.check(y, 'the quick brown fox ', 'baseline/screen:1') - replacement in source_text_tests.lua at line 554
check_eq(Editor_state.cursor1.pos, 20, 'F - test_click_past_end_of_word_wrapping_line/cursor')check_eq(Editor_state.cursor1.pos, 20, 'cursor') - edit in source_text_tests.lua at line 558
io.write('\ntest_select_text') - replacement in source_text_tests.lua at line 573
check_eq(Editor_state.selection1.line, 1, 'F - test_select_text/selection:line')check_eq(Editor_state.selection1.pos, 1, 'F - test_select_text/selection:pos')check_eq(Editor_state.cursor1.line, 1, 'F - test_select_text/cursor:line')check_eq(Editor_state.cursor1.pos, 2, 'F - test_select_text/cursor:pos')check_eq(Editor_state.selection1.line, 1, 'selection:line')check_eq(Editor_state.selection1.pos, 1, 'selection:pos')check_eq(Editor_state.cursor1.line, 1, 'cursor:line')check_eq(Editor_state.cursor1.pos, 2, 'cursor:pos') - edit in source_text_tests.lua at line 580
io.write('\ntest_cursor_movement_without_shift_resets_selection') - replacement in source_text_tests.lua at line 593
check_nil(Editor_state.selection1.line, 'F - test_cursor_movement_without_shift_resets_selection')check_eq(Editor_state.lines[1].data, 'abc', 'F - test_cursor_movement_without_shift_resets_selection/data')check_nil(Editor_state.selection1.line, 'check')check_eq(Editor_state.lines[1].data, 'abc', 'data') - edit in source_text_tests.lua at line 598
io.write('\ntest_edit_deletes_selection') - replacement in source_text_tests.lua at line 611
check_eq(Editor_state.lines[1].data, 'xbc', 'F - test_edit_deletes_selection')check_eq(Editor_state.lines[1].data, 'xbc', 'check') - edit in source_text_tests.lua at line 615
io.write('\ntest_edit_with_shift_key_deletes_selection') - replacement in source_text_tests.lua at line 632
check_nil(Editor_state.selection1.line, 'F - test_edit_with_shift_key_deletes_selection')check_eq(Editor_state.lines[1].data, 'Dbc', 'F - test_edit_with_shift_key_deletes_selection/data')check_nil(Editor_state.selection1.line, 'check')check_eq(Editor_state.lines[1].data, 'Dbc', 'data') - edit in source_text_tests.lua at line 637
io.write('\ntest_copy_does_not_reset_selection') - replacement in source_text_tests.lua at line 649
check_eq(App.clipboard, 'a', 'F - test_copy_does_not_reset_selection/clipboard')check_eq(App.clipboard, 'a', 'clipboard') - replacement in source_text_tests.lua at line 651
check(Editor_state.selection1.line, 'F - test_copy_does_not_reset_selection')check(Editor_state.selection1.line, 'check') - edit in source_text_tests.lua at line 655
io.write('\ntest_cut') - replacement in source_text_tests.lua at line 667
check_eq(App.clipboard, 'a', 'F - test_cut/clipboard')check_eq(App.clipboard, 'a', 'clipboard') - replacement in source_text_tests.lua at line 669
check_eq(Editor_state.lines[1].data, 'bc', 'F - test_cut/data')check_eq(Editor_state.lines[1].data, 'bc', 'data') - edit in source_text_tests.lua at line 673
io.write('\ntest_paste_replaces_selection') - replacement in source_text_tests.lua at line 689
check_eq(Editor_state.lines[1].data, 'xyzdef', 'F - test_paste_replaces_selection')check_eq(Editor_state.lines[1].data, 'xyzdef', 'check') - edit in source_text_tests.lua at line 693
io.write('\ntest_deleting_selection_may_scroll') - replacement in source_text_tests.lua at line 703
App.screen.check(y, 'def', 'F - test_deleting_selection_may_scroll/baseline/screen:1')App.screen.check(y, 'def', 'baseline/screen:1') - replacement in source_text_tests.lua at line 705
App.screen.check(y, 'ghi', 'F - test_deleting_selection_may_scroll/baseline/screen:2')App.screen.check(y, 'ghi', 'baseline/screen:2') - replacement in source_text_tests.lua at line 707
App.screen.check(y, 'jkl', 'F - test_deleting_selection_may_scroll/baseline/screen:3')App.screen.check(y, 'jkl', 'baseline/screen:3') - replacement in source_text_tests.lua at line 713
check_eq(Editor_state.screen_top1.line, 1, 'F - test_deleting_selection_may_scroll')check_eq(Editor_state.lines[1].data, 'ahi', 'F - test_deleting_selection_may_scroll/data')check_eq(Editor_state.screen_top1.line, 1, 'check')check_eq(Editor_state.lines[1].data, 'ahi', 'data') - edit in source_text_tests.lua at line 718
io.write('\ntest_edit_wrapping_text') - replacement in source_text_tests.lua at line 728
App.screen.check(y, 'abc', 'F - test_edit_wrapping_text/screen:1')App.screen.check(y, 'abc', 'screen:1') - replacement in source_text_tests.lua at line 730
App.screen.check(y, 'de', 'F - test_edit_wrapping_text/screen:2')App.screen.check(y, 'de', 'screen:2') - replacement in source_text_tests.lua at line 732
App.screen.check(y, 'fg', 'F - test_edit_wrapping_text/screen:3')App.screen.check(y, 'fg', 'screen:3') - edit in source_text_tests.lua at line 736
io.write('\ntest_insert_newline') - replacement in source_text_tests.lua at line 746
App.screen.check(y, 'abc', 'F - test_insert_newline/baseline/screen:1')App.screen.check(y, 'abc', 'baseline/screen:1') - replacement in source_text_tests.lua at line 748
App.screen.check(y, 'def', 'F - test_insert_newline/baseline/screen:2')App.screen.check(y, 'def', 'baseline/screen:2') - replacement in source_text_tests.lua at line 750
App.screen.check(y, 'ghi', 'F - test_insert_newline/baseline/screen:3')App.screen.check(y, 'ghi', 'baseline/screen:3') - replacement in source_text_tests.lua at line 753
check_eq(Editor_state.screen_top1.line, 1, 'F - test_insert_newline/screen_top')check_eq(Editor_state.cursor1.line, 2, 'F - test_insert_newline/cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'F - test_insert_newline/cursor:pos')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') - replacement in source_text_tests.lua at line 757
App.screen.check(y, 'a', 'F - test_insert_newline/screen:1')App.screen.check(y, 'a', 'screen:1') - replacement in source_text_tests.lua at line 759
App.screen.check(y, 'bc', 'F - test_insert_newline/screen:2')App.screen.check(y, 'bc', 'screen:2') - replacement in source_text_tests.lua at line 761
App.screen.check(y, 'def', 'F - test_insert_newline/screen:3')App.screen.check(y, 'def', 'screen:3') - edit in source_text_tests.lua at line 765
io.write('\ntest_insert_newline_at_start_of_line') - replacement in source_text_tests.lua at line 775
check_eq(Editor_state.cursor1.line, 2, 'F - test_insert_newline_at_start_of_line/cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'F - test_insert_newline_at_start_of_line/cursor:pos')check_eq(Editor_state.lines[1].data, '', 'F - test_insert_newline_at_start_of_line/data:1')check_eq(Editor_state.lines[2].data, 'abc', 'F - test_insert_newline_at_start_of_line/data:2')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') - edit in source_text_tests.lua at line 782
io.write('\ntest_insert_from_clipboard') - replacement in source_text_tests.lua at line 792
App.screen.check(y, 'abc', 'F - test_insert_from_clipboard/baseline/screen:1')App.screen.check(y, 'abc', 'baseline/screen:1') - replacement in source_text_tests.lua at line 794
App.screen.check(y, 'def', 'F - test_insert_from_clipboard/baseline/screen:2')App.screen.check(y, 'def', 'baseline/screen:2') - replacement in source_text_tests.lua at line 796
App.screen.check(y, 'ghi', 'F - test_insert_from_clipboard/baseline/screen:3')App.screen.check(y, 'ghi', 'baseline/screen:3') - replacement in source_text_tests.lua at line 800
check_eq(Editor_state.screen_top1.line, 1, 'F - test_insert_from_clipboard/screen_top')check_eq(Editor_state.cursor1.line, 2, 'F - test_insert_from_clipboard/cursor:line')check_eq(Editor_state.cursor1.pos, 2, 'F - test_insert_from_clipboard/cursor:pos')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') - replacement in source_text_tests.lua at line 804
App.screen.check(y, 'axy', 'F - test_insert_from_clipboard/screen:1')App.screen.check(y, 'axy', 'screen:1') - replacement in source_text_tests.lua at line 806
App.screen.check(y, 'zbc', 'F - test_insert_from_clipboard/screen:2')App.screen.check(y, 'zbc', 'screen:2') - replacement in source_text_tests.lua at line 808
App.screen.check(y, 'def', 'F - test_insert_from_clipboard/screen:3')App.screen.check(y, 'def', 'screen:3') - edit in source_text_tests.lua at line 812
io.write('\ntest_select_text_using_mouse') - replacement in source_text_tests.lua at line 825
check_eq(Editor_state.selection1.line, 1, 'F - test_select_text_using_mouse/selection:line')check_eq(Editor_state.selection1.pos, 2, 'F - test_select_text_using_mouse/selection:pos')check_eq(Editor_state.cursor1.line, 2, 'F - test_select_text_using_mouse/cursor:line')check_eq(Editor_state.cursor1.pos, 4, 'F - test_select_text_using_mouse/cursor:pos')check_eq(Editor_state.selection1.line, 1, 'selection:line')check_eq(Editor_state.selection1.pos, 2, 'selection:pos')check_eq(Editor_state.cursor1.line, 2, 'cursor:line')check_eq(Editor_state.cursor1.pos, 4, 'cursor:pos') - edit in source_text_tests.lua at line 832
io.write('\ntest_select_text_using_mouse_and_shift') - replacement in source_text_tests.lua at line 849
check_eq(Editor_state.selection1.line, 1, 'F - test_select_text_using_mouse_and_shift/selection:line')check_eq(Editor_state.selection1.pos, 2, 'F - test_select_text_using_mouse_and_shift/selection:pos')check_eq(Editor_state.cursor1.line, 2, 'F - test_select_text_using_mouse_and_shift/cursor:line')check_eq(Editor_state.cursor1.pos, 4, 'F - test_select_text_using_mouse_and_shift/cursor:pos')check_eq(Editor_state.selection1.line, 1, 'selection:line')check_eq(Editor_state.selection1.pos, 2, 'selection:pos')check_eq(Editor_state.cursor1.line, 2, 'cursor:line')check_eq(Editor_state.cursor1.pos, 4, 'cursor:pos') - edit in source_text_tests.lua at line 856
io.write('\ntest_select_text_repeatedly_using_mouse_and_shift') - replacement in source_text_tests.lua at line 879
check_eq(Editor_state.selection1.line, 1, 'F - test_select_text_repeatedly_using_mouse_and_shift/selection:line')check_eq(Editor_state.selection1.pos, 2, 'F - test_select_text_repeatedly_using_mouse_and_shift/selection:pos')check_eq(Editor_state.cursor1.line, 2, 'F - test_select_text_repeatedly_using_mouse_and_shift/cursor:line')check_eq(Editor_state.cursor1.pos, 2, 'F - test_select_text_repeatedly_using_mouse_and_shift/cursor:pos')check_eq(Editor_state.selection1.line, 1, 'selection:line')check_eq(Editor_state.selection1.pos, 2, 'selection:pos')check_eq(Editor_state.cursor1.line, 2, 'cursor:line')check_eq(Editor_state.cursor1.pos, 2, 'cursor:pos') - edit in source_text_tests.lua at line 886
io.write('\ntest_cut_without_selection') - replacement in source_text_tests.lua at line 899
check_nil(Editor_state.selection1.line, 'F - test_cut_without_selection')check_nil(Editor_state.selection1.line, 'check') - edit in source_text_tests.lua at line 903
io.write('\ntest_pagedown') - replacement in source_text_tests.lua at line 913
App.screen.check(y, 'abc', 'F - test_pagedown/baseline/screen:1')App.screen.check(y, 'abc', 'baseline/screen:1') - replacement in source_text_tests.lua at line 915
App.screen.check(y, 'def', 'F - test_pagedown/baseline/screen:2')App.screen.check(y, 'def', 'baseline/screen:2') - replacement in source_text_tests.lua at line 918
check_eq(Editor_state.screen_top1.line, 2, 'F - test_pagedown/screen_top')check_eq(Editor_state.cursor1.line, 2, 'F - test_pagedown/cursor')check_eq(Editor_state.screen_top1.line, 2, 'screen_top')check_eq(Editor_state.cursor1.line, 2, 'cursor') - replacement in source_text_tests.lua at line 921
App.screen.check(y, 'def', 'F - test_pagedown/screen:1')App.screen.check(y, 'def', 'screen:1') - replacement in source_text_tests.lua at line 923
App.screen.check(y, 'ghi', 'F - test_pagedown/screen:2')App.screen.check(y, 'ghi', 'screen:2') - edit in source_text_tests.lua at line 927
io.write('\ntest_pagedown_skips_drawings') - replacement in source_text_tests.lua at line 936
check_eq(Editor_state.lines[2].mode, 'drawing', 'F - test_pagedown_skips_drawings/baseline/lines')check_eq(Editor_state.lines[2].mode, 'drawing', 'baseline/lines') - replacement in source_text_tests.lua at line 945
App.screen.check(y, 'abc', 'F - test_pagedown_skips_drawings/baseline/screen:1')App.screen.check(y, 'abc', 'baseline/screen:1') - replacement in source_text_tests.lua at line 949
check_eq(Editor_state.screen_top1.line, 2, 'F - test_pagedown_skips_drawings/screen_top')check_eq(Editor_state.cursor1.line, 3, 'F - test_pagedown_skips_drawings/cursor')check_eq(Editor_state.screen_top1.line, 2, 'screen_top')check_eq(Editor_state.cursor1.line, 3, 'cursor') - replacement in source_text_tests.lua at line 952
App.screen.check(y, 'def', 'F - test_pagedown_skips_drawings/screen:1')App.screen.check(y, 'def', 'screen:1') - edit in source_text_tests.lua at line 956
io.write('\ntest_pagedown_can_start_from_middle_of_long_wrapping_line') - replacement in source_text_tests.lua at line 966
App.screen.check(y, 'abc ', 'F - test_pagedown_can_start_from_middle_of_long_wrapping_line/baseline/screen:1')App.screen.check(y, 'abc ', 'baseline/screen:1') - replacement in source_text_tests.lua at line 968
App.screen.check(y, 'def ', 'F - test_pagedown_can_start_from_middle_of_long_wrapping_line/baseline/screen:2')App.screen.check(y, 'def ', 'baseline/screen:2') - replacement in source_text_tests.lua at line 970
App.screen.check(y, 'ghi ', 'F - test_pagedown_can_start_from_middle_of_long_wrapping_line/baseline/screen:3')App.screen.check(y, 'ghi ', 'baseline/screen:3') - replacement in source_text_tests.lua at line 973
check_eq(Editor_state.screen_top1.line, 1, 'F - test_pagedown_can_start_from_middle_of_long_wrapping_line/screen_top:line')check_eq(Editor_state.screen_top1.pos, 9, 'F - test_pagedown_can_start_from_middle_of_long_wrapping_line/screen_top:pos')check_eq(Editor_state.screen_top1.line, 1, 'screen_top:line')check_eq(Editor_state.screen_top1.pos, 9, 'screen_top:pos') - replacement in source_text_tests.lua at line 976
App.screen.check(y, 'ghi ', 'F - test_pagedown_can_start_from_middle_of_long_wrapping_line/screen:1')App.screen.check(y, 'ghi ', 'screen:1') - replacement in source_text_tests.lua at line 978
App.screen.check(y, 'jkl ', 'F - test_pagedown_can_start_from_middle_of_long_wrapping_line/screen:2')App.screen.check(y, 'jkl ', 'screen:2') - replacement in source_text_tests.lua at line 980
App.screen.check(y, 'mno ', 'F - test_pagedown_can_start_from_middle_of_long_wrapping_line/screen:3')App.screen.check(y, 'mno ', 'screen:3') - edit in source_text_tests.lua at line 984
io.write('\ntest_pagedown_never_moves_up') - replacement in source_text_tests.lua at line 995
check_eq(Editor_state.screen_top1.line, 1, 'F - test_pagedown_never_moves_up/screen_top:line')check_eq(Editor_state.screen_top1.pos, 9, 'F - test_pagedown_never_moves_up/screen_top:pos')check_eq(Editor_state.screen_top1.line, 1, 'screen_top:line')check_eq(Editor_state.screen_top1.pos, 9, 'screen_top:pos') - edit in source_text_tests.lua at line 1000
io.write('\ntest_down_arrow_moves_cursor') - replacement in source_text_tests.lua at line 1010
App.screen.check(y, 'abc', 'F - test_down_arrow_moves_cursor/baseline/screen:1')App.screen.check(y, 'abc', 'baseline/screen:1') - replacement in source_text_tests.lua at line 1012
App.screen.check(y, 'def', 'F - test_down_arrow_moves_cursor/baseline/screen:2')App.screen.check(y, 'def', 'baseline/screen:2') - replacement in source_text_tests.lua at line 1014
App.screen.check(y, 'ghi', 'F - test_down_arrow_moves_cursor/baseline/screen:3')App.screen.check(y, 'ghi', 'baseline/screen:3') - replacement in source_text_tests.lua at line 1017
check_eq(Editor_state.screen_top1.line, 1, 'F - test_down_arrow_moves_cursor/screen_top')check_eq(Editor_state.cursor1.line, 2, 'F - test_down_arrow_moves_cursor/cursor')check_eq(Editor_state.screen_top1.line, 1, 'screen_top')check_eq(Editor_state.cursor1.line, 2, 'cursor') - replacement in source_text_tests.lua at line 1021
App.screen.check(y, 'abc', 'F - test_down_arrow_moves_cursor/screen:1')App.screen.check(y, 'abc', 'screen:1') - replacement in source_text_tests.lua at line 1023
App.screen.check(y, 'def', 'F - test_down_arrow_moves_cursor/screen:2')App.screen.check(y, 'def', 'screen:2') - replacement in source_text_tests.lua at line 1025
App.screen.check(y, 'ghi', 'F - test_down_arrow_moves_cursor/screen:3')App.screen.check(y, 'ghi', 'screen:3') - edit in source_text_tests.lua at line 1029
io.write('\ntest_down_arrow_scrolls_down_by_one_line') - replacement in source_text_tests.lua at line 1039
App.screen.check(y, 'abc', 'F - test_down_arrow_scrolls_down_by_one_line/baseline/screen:1')App.screen.check(y, 'abc', 'baseline/screen:1') - replacement in source_text_tests.lua at line 1041
App.screen.check(y, 'def', 'F - test_down_arrow_scrolls_down_by_one_line/baseline/screen:2')App.screen.check(y, 'def', 'baseline/screen:2') - replacement in source_text_tests.lua at line 1043
App.screen.check(y, 'ghi', 'F - test_down_arrow_scrolls_down_by_one_line/baseline/screen:3')App.screen.check(y, 'ghi', 'baseline/screen:3') - replacement in source_text_tests.lua at line 1046
check_eq(Editor_state.screen_top1.line, 2, 'F - test_down_arrow_scrolls_down_by_one_line/screen_top')check_eq(Editor_state.cursor1.line, 4, 'F - test_down_arrow_scrolls_down_by_one_line/cursor')check_eq(Editor_state.screen_top1.line, 2, 'screen_top')check_eq(Editor_state.cursor1.line, 4, 'cursor') - replacement in source_text_tests.lua at line 1049
App.screen.check(y, 'def', 'F - test_down_arrow_scrolls_down_by_one_line/screen:1')App.screen.check(y, 'def', 'screen:1') - replacement in source_text_tests.lua at line 1051
App.screen.check(y, 'ghi', 'F - test_down_arrow_scrolls_down_by_one_line/screen:2')App.screen.check(y, 'ghi', 'screen:2') - replacement in source_text_tests.lua at line 1053
App.screen.check(y, 'jkl', 'F - test_down_arrow_scrolls_down_by_one_line/screen:3')App.screen.check(y, 'jkl', 'screen:3') - edit in source_text_tests.lua at line 1057
io.write('\ntest_down_arrow_scrolls_down_by_one_screen_line') - replacement in source_text_tests.lua at line 1067
App.screen.check(y, 'abc', 'F - test_down_arrow_scrolls_down_by_one_screen_line/baseline/screen:1')App.screen.check(y, 'abc', 'baseline/screen:1') - replacement in source_text_tests.lua at line 1069
App.screen.check(y, 'def', 'F - test_down_arrow_scrolls_down_by_one_screen_line/baseline/screen:2')App.screen.check(y, 'def', 'baseline/screen:2') - replacement in source_text_tests.lua at line 1071
App.screen.check(y, 'ghi ', 'F - test_down_arrow_scrolls_down_by_one_screen_line/baseline/screen:3') -- line wrapping includes trailing whitespaceApp.screen.check(y, 'ghi ', 'baseline/screen:3') -- line wrapping includes trailing whitespace - replacement in source_text_tests.lua at line 1074
check_eq(Editor_state.screen_top1.line, 2, 'F - test_down_arrow_scrolls_down_by_one_screen_line/screen_top')check_eq(Editor_state.cursor1.line, 3, 'F - test_down_arrow_scrolls_down_by_one_screen_line/cursor:line')check_eq(Editor_state.cursor1.pos, 5, 'F - test_down_arrow_scrolls_down_by_one_screen_line/cursor:pos')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, 5, 'cursor:pos') - replacement in source_text_tests.lua at line 1078
App.screen.check(y, 'def', 'F - test_down_arrow_scrolls_down_by_one_screen_line/screen:1')App.screen.check(y, 'def', 'screen:1') - replacement in source_text_tests.lua at line 1080
App.screen.check(y, 'ghi ', 'F - test_down_arrow_scrolls_down_by_one_screen_line/screen:2')App.screen.check(y, 'ghi ', 'screen:2') - replacement in source_text_tests.lua at line 1082
App.screen.check(y, 'jkl', 'F - test_down_arrow_scrolls_down_by_one_screen_line/screen:3')App.screen.check(y, 'jkl', 'screen:3') - edit in source_text_tests.lua at line 1086
io.write('\ntest_down_arrow_scrolls_down_by_one_screen_line_after_splitting_within_word') - replacement in source_text_tests.lua at line 1096
App.screen.check(y, 'abc', 'F - test_down_arrow_scrolls_down_by_one_screen_line_after_splitting_within_word/baseline/screen:1')App.screen.check(y, 'abc', 'baseline/screen:1') - replacement in source_text_tests.lua at line 1098
App.screen.check(y, 'def', 'F - test_down_arrow_scrolls_down_by_one_screen_line_after_splitting_within_word/baseline/screen:2')App.screen.check(y, 'def', 'baseline/screen:2') - replacement in source_text_tests.lua at line 1100
App.screen.check(y, 'ghij', 'F - test_down_arrow_scrolls_down_by_one_screen_line_after_splitting_within_word/baseline/screen:3')App.screen.check(y, 'ghij', 'baseline/screen:3') - replacement in source_text_tests.lua at line 1103
check_eq(Editor_state.screen_top1.line, 2, 'F - test_down_arrow_scrolls_down_by_one_screen_line_after_splitting_within_word/screen_top')check_eq(Editor_state.cursor1.line, 3, 'F - test_down_arrow_scrolls_down_by_one_screen_line_after_splitting_within_word/cursor:line')check_eq(Editor_state.cursor1.pos, 5, 'F - test_down_arrow_scrolls_down_by_one_screen_line_after_splitting_within_word/cursor:pos')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, 5, 'cursor:pos') - replacement in source_text_tests.lua at line 1107
App.screen.check(y, 'def', 'F - test_down_arrow_scrolls_down_by_one_screen_line_after_splitting_within_word/screen:1')App.screen.check(y, 'def', 'screen:1') - replacement in source_text_tests.lua at line 1109
App.screen.check(y, 'ghij', 'F - test_down_arrow_scrolls_down_by_one_screen_line_after_splitting_within_word/screen:2')App.screen.check(y, 'ghij', 'screen:2') - replacement in source_text_tests.lua at line 1111
App.screen.check(y, 'kl', 'F - test_down_arrow_scrolls_down_by_one_screen_line_after_splitting_within_word/screen:3')App.screen.check(y, 'kl', 'screen:3') - edit in source_text_tests.lua at line 1115
io.write('\ntest_pagedown_followed_by_down_arrow_does_not_scroll_screen_up') - replacement in source_text_tests.lua at line 1124
App.screen.check(y, 'abc', 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/baseline/screen:1')App.screen.check(y, 'abc', 'baseline/screen:1') - replacement in source_text_tests.lua at line 1126
App.screen.check(y, 'def', 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/baseline/screen:2')App.screen.check(y, 'def', 'baseline/screen:2') - replacement in source_text_tests.lua at line 1128
App.screen.check(y, 'ghij', 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/baseline/screen:3')App.screen.check(y, 'ghij', 'baseline/screen:3') - replacement in source_text_tests.lua at line 1131
check_eq(Editor_state.screen_top1.line, 3, 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/baseline2/screen_top')check_eq(Editor_state.cursor1.line, 3, 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/baseline2/cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/baseline2/cursor:pos')check_eq(Editor_state.screen_top1.line, 3, 'baseline2/screen_top')check_eq(Editor_state.cursor1.line, 3, 'baseline2/cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'baseline2/cursor:pos') - replacement in source_text_tests.lua at line 1136
check_eq(Editor_state.screen_top1.line, 3, 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/screen_top')check_eq(Editor_state.cursor1.line, 3, 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/cursor:line')check_eq(Editor_state.cursor1.pos, 5, 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/cursor:pos')check_eq(Editor_state.screen_top1.line, 3, 'screen_top')check_eq(Editor_state.cursor1.line, 3, 'cursor:line')check_eq(Editor_state.cursor1.pos, 5, 'cursor:pos') - replacement in source_text_tests.lua at line 1140
App.screen.check(y, 'ghij', 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/screen:1')App.screen.check(y, 'ghij', 'screen:1') - replacement in source_text_tests.lua at line 1142
App.screen.check(y, 'kl', 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/screen:2')App.screen.check(y, 'kl', 'screen:2') - replacement in source_text_tests.lua at line 1144
App.screen.check(y, 'mno', 'F - test_pagedown_followed_by_down_arrow_does_not_scroll_screen_up/screen:3')App.screen.check(y, 'mno', 'screen:3') - edit in source_text_tests.lua at line 1148
io.write('\ntest_up_arrow_moves_cursor') - replacement in source_text_tests.lua at line 1158
App.screen.check(y, 'abc', 'F - test_up_arrow_moves_cursor/baseline/screen:1')App.screen.check(y, 'abc', 'baseline/screen:1') - replacement in source_text_tests.lua at line 1160
App.screen.check(y, 'def', 'F - test_up_arrow_moves_cursor/baseline/screen:2')App.screen.check(y, 'def', 'baseline/screen:2') - replacement in source_text_tests.lua at line 1162
App.screen.check(y, 'ghi', 'F - test_up_arrow_moves_cursor/baseline/screen:3')App.screen.check(y, 'ghi', 'baseline/screen:3') - replacement in source_text_tests.lua at line 1165
check_eq(Editor_state.screen_top1.line, 1, 'F - test_up_arrow_moves_cursor/screen_top')check_eq(Editor_state.cursor1.line, 2, 'F - test_up_arrow_moves_cursor/cursor')check_eq(Editor_state.screen_top1.line, 1, 'screen_top')check_eq(Editor_state.cursor1.line, 2, 'cursor') - replacement in source_text_tests.lua at line 1169
App.screen.check(y, 'abc', 'F - test_up_arrow_moves_cursor/screen:1')App.screen.check(y, 'abc', 'screen:1') - replacement in source_text_tests.lua at line 1171
App.screen.check(y, 'def', 'F - test_up_arrow_moves_cursor/screen:2')App.screen.check(y, 'def', 'screen:2') - replacement in source_text_tests.lua at line 1173
App.screen.check(y, 'ghi', 'F - test_up_arrow_moves_cursor/screen:3')App.screen.check(y, 'ghi', 'screen:3') - edit in source_text_tests.lua at line 1177
io.write('\ntest_up_arrow_scrolls_up_by_one_line') - replacement in source_text_tests.lua at line 1187
App.screen.check(y, 'def', 'F - test_up_arrow_scrolls_up_by_one_line/baseline/screen:1')App.screen.check(y, 'def', 'baseline/screen:1') - replacement in source_text_tests.lua at line 1189
App.screen.check(y, 'ghi', 'F - test_up_arrow_scrolls_up_by_one_line/baseline/screen:2')App.screen.check(y, 'ghi', 'baseline/screen:2') - replacement in source_text_tests.lua at line 1191
App.screen.check(y, 'jkl', 'F - test_up_arrow_scrolls_up_by_one_line/baseline/screen:3')App.screen.check(y, 'jkl', 'baseline/screen:3') - replacement in source_text_tests.lua at line 1194
check_eq(Editor_state.screen_top1.line, 1, 'F - test_up_arrow_scrolls_up_by_one_line/screen_top')check_eq(Editor_state.cursor1.line, 1, 'F - test_up_arrow_scrolls_up_by_one_line/cursor')check_eq(Editor_state.screen_top1.line, 1, 'screen_top')check_eq(Editor_state.cursor1.line, 1, 'cursor') - replacement in source_text_tests.lua at line 1197
App.screen.check(y, 'abc', 'F - test_up_arrow_scrolls_up_by_one_line/screen:1')App.screen.check(y, 'abc', 'screen:1') - replacement in source_text_tests.lua at line 1199
App.screen.check(y, 'def', 'F - test_up_arrow_scrolls_up_by_one_line/screen:2')App.screen.check(y, 'def', 'screen:2') - replacement in source_text_tests.lua at line 1201
App.screen.check(y, 'ghi', 'F - test_up_arrow_scrolls_up_by_one_line/screen:3')App.screen.check(y, 'ghi', 'screen:3') - edit in source_text_tests.lua at line 1205
io.write('\ntest_up_arrow_scrolls_up_by_one_screen_line') - replacement in source_text_tests.lua at line 1215
App.screen.check(y, 'jkl', 'F - test_up_arrow_scrolls_up_by_one_screen_line/baseline/screen:1')App.screen.check(y, 'jkl', 'baseline/screen:1') - replacement in source_text_tests.lua at line 1217
App.screen.check(y, 'mno', 'F - test_up_arrow_scrolls_up_by_one_screen_line/baseline/screen:2')App.screen.check(y, 'mno', 'baseline/screen:2') - replacement in source_text_tests.lua at line 1221
App.screen.check(y, 'ghi ', 'F - test_up_arrow_scrolls_up_by_one_screen_line/screen:1')App.screen.check(y, 'ghi ', 'screen:1') - replacement in source_text_tests.lua at line 1223
App.screen.check(y, 'jkl', 'F - test_up_arrow_scrolls_up_by_one_screen_line/screen:2')App.screen.check(y, 'jkl', 'screen:2') - replacement in source_text_tests.lua at line 1225
App.screen.check(y, 'mno', 'F - test_up_arrow_scrolls_up_by_one_screen_line/screen:3')check_eq(Editor_state.screen_top1.line, 3, 'F - test_up_arrow_scrolls_up_by_one_screen_line/screen_top')check_eq(Editor_state.screen_top1.pos, 1, 'F - test_up_arrow_scrolls_up_by_one_screen_line/screen_top')check_eq(Editor_state.cursor1.line, 3, 'F - test_up_arrow_scrolls_up_by_one_screen_line/cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'F - test_up_arrow_scrolls_up_by_one_screen_line/cursor:pos')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, 1, 'cursor:pos') - edit in source_text_tests.lua at line 1233
io.write('\ntest_up_arrow_scrolls_up_to_final_screen_line') - replacement in source_text_tests.lua at line 1243
App.screen.check(y, 'ghi', 'F - test_up_arrow_scrolls_up_to_final_screen_line/baseline/screen:1')App.screen.check(y, 'ghi', 'baseline/screen:1') - replacement in source_text_tests.lua at line 1245
App.screen.check(y, 'jkl', 'F - test_up_arrow_scrolls_up_to_final_screen_line/baseline/screen:2')App.screen.check(y, 'jkl', 'baseline/screen:2') - replacement in source_text_tests.lua at line 1247
App.screen.check(y, 'mno', 'F - test_up_arrow_scrolls_up_to_final_screen_line/baseline/screen:3')App.screen.check(y, 'mno', 'baseline/screen:3') - replacement in source_text_tests.lua at line 1251
App.screen.check(y, 'def', 'F - test_up_arrow_scrolls_up_to_final_screen_line/screen:1')App.screen.check(y, 'def', 'screen:1') - replacement in source_text_tests.lua at line 1253
App.screen.check(y, 'ghi', 'F - test_up_arrow_scrolls_up_to_final_screen_line/screen:2')App.screen.check(y, 'ghi', 'screen:2') - replacement in source_text_tests.lua at line 1255
App.screen.check(y, 'jkl', 'F - test_up_arrow_scrolls_up_to_final_screen_line/screen:3')check_eq(Editor_state.screen_top1.line, 1, 'F - test_up_arrow_scrolls_up_to_final_screen_line/screen_top')check_eq(Editor_state.screen_top1.pos, 5, 'F - test_up_arrow_scrolls_up_to_final_screen_line/screen_top')check_eq(Editor_state.cursor1.line, 1, 'F - test_up_arrow_scrolls_up_to_final_screen_line/cursor:line')check_eq(Editor_state.cursor1.pos, 5, 'F - test_up_arrow_scrolls_up_to_final_screen_line/cursor:pos')App.screen.check(y, 'jkl', 'screen:3')check_eq(Editor_state.screen_top1.line, 1, 'screen_top:line')check_eq(Editor_state.screen_top1.pos, 5, 'screen_top:pos')check_eq(Editor_state.cursor1.line, 1, 'cursor:line')check_eq(Editor_state.cursor1.pos, 5, 'cursor:pos') - edit in source_text_tests.lua at line 1263
io.write('\ntest_up_arrow_scrolls_up_to_empty_line') - replacement in source_text_tests.lua at line 1273
App.screen.check(y, 'abc', 'F - test_up_arrow_scrolls_up_to_empty_line/baseline/screen:1')App.screen.check(y, 'abc', 'baseline/screen:1') - replacement in source_text_tests.lua at line 1275
App.screen.check(y, 'def', 'F - test_up_arrow_scrolls_up_to_empty_line/baseline/screen:2')App.screen.check(y, 'def', 'baseline/screen:2') - replacement in source_text_tests.lua at line 1277
App.screen.check(y, 'ghi', 'F - test_up_arrow_scrolls_up_to_empty_line/baseline/screen:3')App.screen.check(y, 'ghi', 'baseline/screen:3') - replacement in source_text_tests.lua at line 1280
check_eq(Editor_state.screen_top1.line, 1, 'F - test_up_arrow_scrolls_up_to_empty_line/screen_top')check_eq(Editor_state.cursor1.line, 1, 'F - test_up_arrow_scrolls_up_to_empty_line/cursor')check_eq(Editor_state.screen_top1.line, 1, 'screen_top')check_eq(Editor_state.cursor1.line, 1, 'cursor') - replacement in source_text_tests.lua at line 1285
App.screen.check(y, 'abc', 'F - test_up_arrow_scrolls_up_to_empty_line/screen:2')App.screen.check(y, 'abc', 'screen:2') - replacement in source_text_tests.lua at line 1287
App.screen.check(y, 'def', 'F - test_up_arrow_scrolls_up_to_empty_line/screen:3')App.screen.check(y, 'def', 'screen:3') - edit in source_text_tests.lua at line 1291
io.write('\ntest_pageup') - replacement in source_text_tests.lua at line 1301
App.screen.check(y, 'def', 'F - test_pageup/baseline/screen:1')App.screen.check(y, 'def', 'baseline/screen:1') - replacement in source_text_tests.lua at line 1303
App.screen.check(y, 'ghi', 'F - test_pageup/baseline/screen:2')App.screen.check(y, 'ghi', 'baseline/screen:2') - replacement in source_text_tests.lua at line 1306
check_eq(Editor_state.screen_top1.line, 1, 'F - test_pageup/screen_top')check_eq(Editor_state.cursor1.line, 1, 'F - test_pageup/cursor')check_eq(Editor_state.screen_top1.line, 1, 'screen_top')check_eq(Editor_state.cursor1.line, 1, 'cursor') - replacement in source_text_tests.lua at line 1309
App.screen.check(y, 'abc', 'F - test_pageup/screen:1')App.screen.check(y, 'abc', 'screen:1') - replacement in source_text_tests.lua at line 1311
App.screen.check(y, 'def', 'F - test_pageup/screen:2')App.screen.check(y, 'def', 'screen:2') - edit in source_text_tests.lua at line 1315
io.write('\ntest_pageup_scrolls_up_by_screen_line') - replacement in source_text_tests.lua at line 1325
App.screen.check(y, 'ghi', 'F - test_pageup_scrolls_up_by_screen_line/baseline/screen:1')App.screen.check(y, 'ghi', 'baseline/screen:1') - replacement in source_text_tests.lua at line 1327
App.screen.check(y, 'jkl', 'F - test_pageup_scrolls_up_by_screen_line/baseline/screen:2')App.screen.check(y, 'jkl', 'baseline/screen:2') - replacement in source_text_tests.lua at line 1329
App.screen.check(y, 'mno', 'F - test_pageup_scrolls_up_by_screen_line/baseline/screen:3') -- line wrapping includes trailing whitespaceApp.screen.check(y, 'mno', 'baseline/screen:3') -- line wrapping includes trailing whitespace - replacement in source_text_tests.lua at line 1332
check_eq(Editor_state.screen_top1.line, 1, 'F - test_pageup_scrolls_up_by_screen_line/screen_top')check_eq(Editor_state.cursor1.line, 1, 'F - test_pageup_scrolls_up_by_screen_line/cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'F - test_pageup_scrolls_up_by_screen_line/cursor:pos')check_eq(Editor_state.screen_top1.line, 1, 'screen_top')check_eq(Editor_state.cursor1.line, 1, 'cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'cursor:pos') - replacement in source_text_tests.lua at line 1336
App.screen.check(y, 'abc ', 'F - test_pageup_scrolls_up_by_screen_line/screen:1')App.screen.check(y, 'abc ', 'screen:1') - replacement in source_text_tests.lua at line 1338
App.screen.check(y, 'def', 'F - test_pageup_scrolls_up_by_screen_line/screen:2')App.screen.check(y, 'def', 'screen:2') - replacement in source_text_tests.lua at line 1340
App.screen.check(y, 'ghi', 'F - test_pageup_scrolls_up_by_screen_line/screen:3')App.screen.check(y, 'ghi', 'screen:3') - edit in source_text_tests.lua at line 1344
io.write('\ntest_pageup_scrolls_up_from_middle_screen_line') - replacement in source_text_tests.lua at line 1354
App.screen.check(y, 'jkl', 'F - test_pageup_scrolls_up_from_middle_screen_line/baseline/screen:2')App.screen.check(y, 'jkl', 'baseline/screen:2') - replacement in source_text_tests.lua at line 1356
App.screen.check(y, 'mno', 'F - test_pageup_scrolls_up_from_middle_screen_line/baseline/screen:3') -- line wrapping includes trailing whitespaceApp.screen.check(y, 'mno', 'baseline/screen:3') -- line wrapping includes trailing whitespace - replacement in source_text_tests.lua at line 1359
check_eq(Editor_state.screen_top1.line, 1, 'F - test_pageup_scrolls_up_from_middle_screen_line/screen_top')check_eq(Editor_state.cursor1.line, 1, 'F - test_pageup_scrolls_up_from_middle_screen_line/cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'F - test_pageup_scrolls_up_from_middle_screen_line/cursor:pos')check_eq(Editor_state.screen_top1.line, 1, 'screen_top')check_eq(Editor_state.cursor1.line, 1, 'cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'cursor:pos') - replacement in source_text_tests.lua at line 1363
App.screen.check(y, 'abc ', 'F - test_pageup_scrolls_up_from_middle_screen_line/screen:1')App.screen.check(y, 'abc ', 'screen:1') - replacement in source_text_tests.lua at line 1365
App.screen.check(y, 'def', 'F - test_pageup_scrolls_up_from_middle_screen_line/screen:2')App.screen.check(y, 'def', 'screen:2') - replacement in source_text_tests.lua at line 1367
App.screen.check(y, 'ghi ', 'F - test_pageup_scrolls_up_from_middle_screen_line/screen:3')App.screen.check(y, 'ghi ', 'screen:3') - edit in source_text_tests.lua at line 1371
io.write('\ntest_enter_on_bottom_line_scrolls_down') - replacement in source_text_tests.lua at line 1381
App.screen.check(y, 'abc', 'F - test_enter_on_bottom_line_scrolls_down/baseline/screen:1')App.screen.check(y, 'abc', 'baseline/screen:1') - replacement in source_text_tests.lua at line 1383
App.screen.check(y, 'def', 'F - test_enter_on_bottom_line_scrolls_down/baseline/screen:2')App.screen.check(y, 'def', 'baseline/screen:2') - replacement in source_text_tests.lua at line 1385
App.screen.check(y, 'ghi', 'F - test_enter_on_bottom_line_scrolls_down/baseline/screen:3')App.screen.check(y, 'ghi', 'baseline/screen:3') - replacement in source_text_tests.lua at line 1388
check_eq(Editor_state.screen_top1.line, 2, 'F - test_enter_on_bottom_line_scrolls_down/screen_top')check_eq(Editor_state.cursor1.line, 4, 'F - test_enter_on_bottom_line_scrolls_down/cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'F - test_enter_on_bottom_line_scrolls_down/cursor:pos')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') - replacement in source_text_tests.lua at line 1392
App.screen.check(y, 'def', 'F - test_enter_on_bottom_line_scrolls_down/screen:1')App.screen.check(y, 'def', 'screen:1') - replacement in source_text_tests.lua at line 1394
App.screen.check(y, 'g', 'F - test_enter_on_bottom_line_scrolls_down/screen:2')App.screen.check(y, 'g', 'screen:2') - replacement in source_text_tests.lua at line 1396
App.screen.check(y, 'hi', 'F - test_enter_on_bottom_line_scrolls_down/screen:3')App.screen.check(y, 'hi', 'screen:3') - edit in source_text_tests.lua at line 1400
io.write('\ntest_enter_on_final_line_avoids_scrolling_down_when_not_at_bottom') - replacement in source_text_tests.lua at line 1410
App.screen.check(y, 'jkl', 'F - test_enter_on_final_line_avoids_scrolling_down_when_not_at_bottom/baseline/screen:1')App.screen.check(y, 'jkl', 'baseline/screen:1') - replacement in source_text_tests.lua at line 1413
check_eq(Editor_state.screen_top1.line, 4, 'F - test_enter_on_final_line_avoids_scrolling_down_when_not_at_bottom/screen_top')check_eq(Editor_state.cursor1.line, 5, 'F - test_enter_on_final_line_avoids_scrolling_down_when_not_at_bottom/cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'F - test_enter_on_final_line_avoids_scrolling_down_when_not_at_bottom/cursor:pos')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') - replacement in source_text_tests.lua at line 1417
App.screen.check(y, 'j', 'F - test_enter_on_final_line_avoids_scrolling_down_when_not_at_bottom/screen:1')App.screen.check(y, 'j', 'screen:1') - replacement in source_text_tests.lua at line 1419
App.screen.check(y, 'kl', 'F - test_enter_on_final_line_avoids_scrolling_down_when_not_at_bottom/screen:2')App.screen.check(y, 'kl', 'screen:2') - edit in source_text_tests.lua at line 1423
io.write('\ntest_inserting_text_on_final_line_avoids_scrolling_down_when_not_at_bottom') - replacement in source_text_tests.lua at line 1434
check_eq(Editor_state.screen_top1.line, 2, 'F - test_inserting_text_on_final_line_avoids_scrolling_down_when_not_at_bottom/screen_top')check_eq(Editor_state.cursor1.line, 2, 'F - test_inserting_text_on_final_line_avoids_scrolling_down_when_not_at_bottom/cursor:line')check_eq(Editor_state.cursor1.pos, 2, 'F - test_inserting_text_on_final_line_avoids_scrolling_down_when_not_at_bottom/cursor:pos')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') - replacement in source_text_tests.lua at line 1438
App.screen.check(y, 'a', 'F - test_inserting_text_on_final_line_avoids_scrolling_down_when_not_at_bottom/screen:1')App.screen.check(y, 'a', 'screen:1') - edit in source_text_tests.lua at line 1442
io.write('\ntest_typing_on_bottom_line_scrolls_down') - replacement in source_text_tests.lua at line 1452
App.screen.check(y, 'abc', 'F - test_typing_on_bottom_line_scrolls_down/baseline/screen:1')App.screen.check(y, 'abc', 'baseline/screen:1') - replacement in source_text_tests.lua at line 1454
App.screen.check(y, 'def', 'F - test_typing_on_bottom_line_scrolls_down/baseline/screen:2')App.screen.check(y, 'def', 'baseline/screen:2') - replacement in source_text_tests.lua at line 1456
App.screen.check(y, 'ghi', 'F - test_typing_on_bottom_line_scrolls_down/baseline/screen:3')App.screen.check(y, 'ghi', 'baseline/screen:3') - replacement in source_text_tests.lua at line 1461
check_eq(Editor_state.screen_top1.line, 2, 'F - test_typing_on_bottom_line_scrolls_down/screen_top')check_eq(Editor_state.cursor1.line, 3, 'F - test_typing_on_bottom_line_scrolls_down/cursor:line')check_eq(Editor_state.cursor1.pos, 7, 'F - test_typing_on_bottom_line_scrolls_down/cursor:pos')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') - replacement in source_text_tests.lua at line 1465
App.screen.check(y, 'def', 'F - test_typing_on_bottom_line_scrolls_down/screen:1')App.screen.check(y, 'def', 'screen:1') - replacement in source_text_tests.lua at line 1467
App.screen.check(y, 'ghij', 'F - test_typing_on_bottom_line_scrolls_down/screen:2')App.screen.check(y, 'ghij', 'screen:2') - replacement in source_text_tests.lua at line 1469
App.screen.check(y, 'kl', 'F - test_typing_on_bottom_line_scrolls_down/screen:3')App.screen.check(y, 'kl', 'screen:3') - edit in source_text_tests.lua at line 1473
io.write('\ntest_left_arrow_scrolls_up_in_wrapped_line') - replacement in source_text_tests.lua at line 1484
App.screen.check(y, 'jkl', 'F - test_left_arrow_scrolls_up_in_wrapped_line/baseline/screen:1')App.screen.check(y, 'jkl', 'baseline/screen:1') - replacement in source_text_tests.lua at line 1486
App.screen.check(y, 'mno', 'F - test_left_arrow_scrolls_up_in_wrapped_line/baseline/screen:2')App.screen.check(y, 'mno', 'baseline/screen:2') - replacement in source_text_tests.lua at line 1490
App.screen.check(y, 'ghi ', 'F - test_left_arrow_scrolls_up_in_wrapped_line/screen:1')App.screen.check(y, 'ghi ', 'screen:1') - replacement in source_text_tests.lua at line 1492
App.screen.check(y, 'jkl', 'F - test_left_arrow_scrolls_up_in_wrapped_line/screen:2')App.screen.check(y, 'jkl', 'screen:2') - replacement in source_text_tests.lua at line 1494
App.screen.check(y, 'mno', 'F - test_left_arrow_scrolls_up_in_wrapped_line/screen:3')check_eq(Editor_state.screen_top1.line, 3, 'F - test_left_arrow_scrolls_up_in_wrapped_line/screen_top')check_eq(Editor_state.screen_top1.pos, 1, 'F - test_left_arrow_scrolls_up_in_wrapped_line/screen_top')check_eq(Editor_state.cursor1.line, 3, 'F - test_left_arrow_scrolls_up_in_wrapped_line/cursor:line')check_eq(Editor_state.cursor1.pos, 4, 'F - test_left_arrow_scrolls_up_in_wrapped_line/cursor:pos')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') - edit in source_text_tests.lua at line 1502
io.write('\ntest_right_arrow_scrolls_down_in_wrapped_line') - replacement in source_text_tests.lua at line 1513
App.screen.check(y, 'abc', 'F - test_right_arrow_scrolls_down_in_wrapped_line/baseline/screen:1')App.screen.check(y, 'abc', 'baseline/screen:1') - replacement in source_text_tests.lua at line 1515
App.screen.check(y, 'def', 'F - test_right_arrow_scrolls_down_in_wrapped_line/baseline/screen:2')App.screen.check(y, 'def', 'baseline/screen:2') - replacement in source_text_tests.lua at line 1517
App.screen.check(y, 'ghi ', 'F - test_right_arrow_scrolls_down_in_wrapped_line/baseline/screen:3') -- line wrapping includes trailing whitespaceApp.screen.check(y, 'ghi ', 'baseline/screen:3') -- line wrapping includes trailing whitespace - replacement in source_text_tests.lua at line 1520
check_eq(Editor_state.screen_top1.line, 2, 'F - test_right_arrow_scrolls_down_in_wrapped_line/screen_top')check_eq(Editor_state.cursor1.line, 3, 'F - test_right_arrow_scrolls_down_in_wrapped_line/cursor:line')check_eq(Editor_state.cursor1.pos, 6, 'F - test_right_arrow_scrolls_down_in_wrapped_line/cursor:pos')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, 6, 'cursor:pos') - replacement in source_text_tests.lua at line 1524
App.screen.check(y, 'def', 'F - test_right_arrow_scrolls_down_in_wrapped_line/screen:1')App.screen.check(y, 'def', 'screen:1') - replacement in source_text_tests.lua at line 1526
App.screen.check(y, 'ghi ', 'F - test_right_arrow_scrolls_down_in_wrapped_line/screen:2')App.screen.check(y, 'ghi ', 'screen:2') - replacement in source_text_tests.lua at line 1528
App.screen.check(y, 'jkl', 'F - test_right_arrow_scrolls_down_in_wrapped_line/screen:3')App.screen.check(y, 'jkl', 'screen:3') - edit in source_text_tests.lua at line 1532
io.write('\ntest_home_scrolls_up_in_wrapped_line') - replacement in source_text_tests.lua at line 1543
App.screen.check(y, 'jkl', 'F - test_home_scrolls_up_in_wrapped_line/baseline/screen:1')App.screen.check(y, 'jkl', 'baseline/screen:1') - replacement in source_text_tests.lua at line 1545
App.screen.check(y, 'mno', 'F - test_home_scrolls_up_in_wrapped_line/baseline/screen:2')App.screen.check(y, 'mno', 'baseline/screen:2') - replacement in source_text_tests.lua at line 1549
App.screen.check(y, 'ghi ', 'F - test_home_scrolls_up_in_wrapped_line/screen:1')App.screen.check(y, 'ghi ', 'screen:1') - replacement in source_text_tests.lua at line 1551
App.screen.check(y, 'jkl', 'F - test_home_scrolls_up_in_wrapped_line/screen:2')App.screen.check(y, 'jkl', 'screen:2') - replacement in source_text_tests.lua at line 1553
App.screen.check(y, 'mno', 'F - test_home_scrolls_up_in_wrapped_line/screen:3')check_eq(Editor_state.screen_top1.line, 3, 'F - test_home_scrolls_up_in_wrapped_line/screen_top')check_eq(Editor_state.screen_top1.pos, 1, 'F - test_home_scrolls_up_in_wrapped_line/screen_top')check_eq(Editor_state.cursor1.line, 3, 'F - test_home_scrolls_up_in_wrapped_line/cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'F - test_home_scrolls_up_in_wrapped_line/cursor:pos')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, 1, 'cursor:pos') - edit in source_text_tests.lua at line 1561
io.write('\ntest_end_scrolls_down_in_wrapped_line') - replacement in source_text_tests.lua at line 1572
App.screen.check(y, 'abc', 'F - test_end_scrolls_down_in_wrapped_line/baseline/screen:1')App.screen.check(y, 'abc', 'baseline/screen:1') - replacement in source_text_tests.lua at line 1574
App.screen.check(y, 'def', 'F - test_end_scrolls_down_in_wrapped_line/baseline/screen:2')App.screen.check(y, 'def', 'baseline/screen:2') - replacement in source_text_tests.lua at line 1576
App.screen.check(y, 'ghi ', 'F - test_end_scrolls_down_in_wrapped_line/baseline/screen:3') -- line wrapping includes trailing whitespaceApp.screen.check(y, 'ghi ', 'baseline/screen:3') -- line wrapping includes trailing whitespace - replacement in source_text_tests.lua at line 1579
check_eq(Editor_state.screen_top1.line, 2, 'F - test_end_scrolls_down_in_wrapped_line/screen_top')check_eq(Editor_state.cursor1.line, 3, 'F - test_end_scrolls_down_in_wrapped_line/cursor:line')check_eq(Editor_state.cursor1.pos, 8, 'F - test_end_scrolls_down_in_wrapped_line/cursor:pos')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, 8, 'cursor:pos') - replacement in source_text_tests.lua at line 1583
App.screen.check(y, 'def', 'F - test_end_scrolls_down_in_wrapped_line/screen:1')App.screen.check(y, 'def', 'screen:1') - replacement in source_text_tests.lua at line 1585
App.screen.check(y, 'ghi ', 'F - test_end_scrolls_down_in_wrapped_line/screen:2')App.screen.check(y, 'ghi ', 'screen:2') - replacement in source_text_tests.lua at line 1587
App.screen.check(y, 'jkl', 'F - test_end_scrolls_down_in_wrapped_line/screen:3')App.screen.check(y, 'jkl', 'screen:3') - edit in source_text_tests.lua at line 1592
io.write('\ntest_position_cursor_on_recently_edited_wrapping_line') - replacement in source_text_tests.lua at line 1601
App.screen.check(y, 'abc def ghi ', 'F - test_position_cursor_on_recently_edited_wrapping_line/baseline1/screen:1')App.screen.check(y, 'abc def ghi ', 'baseline1/screen:1') - replacement in source_text_tests.lua at line 1603
App.screen.check(y, 'jkl mno pqr ', 'F - test_position_cursor_on_recently_edited_wrapping_line/baseline1/screen:2')App.screen.check(y, 'jkl mno pqr ', 'baseline1/screen:2') - replacement in source_text_tests.lua at line 1605
App.screen.check(y, 'xyz', 'F - test_position_cursor_on_recently_edited_wrapping_line/baseline1/screen:3')App.screen.check(y, 'xyz', 'baseline1/screen:3') - replacement in source_text_tests.lua at line 1610
check_eq(Editor_state.cursor1.pos, 28, 'F - test_position_cursor_on_recently_edited_wrapping_line/cursor:pos')check_eq(Editor_state.cursor1.pos, 28, 'cursor:pos') - replacement in source_text_tests.lua at line 1612
App.screen.check(y, 'abc def ghi ', 'F - test_position_cursor_on_recently_edited_wrapping_line/baseline2/screen:1')App.screen.check(y, 'abc def ghi ', 'baseline2/screen:1') - replacement in source_text_tests.lua at line 1614
App.screen.check(y, 'jkl mno pqr ', 'F - test_position_cursor_on_recently_edited_wrapping_line/baseline2/screen:2')App.screen.check(y, 'jkl mno pqr ', 'baseline2/screen:2') - replacement in source_text_tests.lua at line 1616
App.screen.check(y, 'stu', 'F - test_position_cursor_on_recently_edited_wrapping_line/baseline2/screen:3')App.screen.check(y, 'stu', 'baseline2/screen:3') - replacement in source_text_tests.lua at line 1620
check_eq(Editor_state.cursor1.line, 1, 'F - test_position_cursor_on_recently_edited_wrapping_line/cursor:line')check_eq(Editor_state.cursor1.pos, 26, 'F - test_position_cursor_on_recently_edited_wrapping_line/cursor:pos')check_eq(Editor_state.cursor1.line, 1, 'cursor:line')check_eq(Editor_state.cursor1.pos, 26, 'cursor:pos') - edit in source_text_tests.lua at line 1625
io.write('\ntest_backspace_can_scroll_up') - replacement in source_text_tests.lua at line 1635
App.screen.check(y, 'def', 'F - test_backspace_can_scroll_up/baseline/screen:1')App.screen.check(y, 'def', 'baseline/screen:1') - replacement in source_text_tests.lua at line 1637
App.screen.check(y, 'ghi', 'F - test_backspace_can_scroll_up/baseline/screen:2')App.screen.check(y, 'ghi', 'baseline/screen:2') - replacement in source_text_tests.lua at line 1639
App.screen.check(y, 'jkl', 'F - test_backspace_can_scroll_up/baseline/screen:3')App.screen.check(y, 'jkl', 'baseline/screen:3') - replacement in source_text_tests.lua at line 1642
check_eq(Editor_state.screen_top1.line, 1, 'F - test_backspace_can_scroll_up/screen_top')check_eq(Editor_state.cursor1.line, 1, 'F - test_backspace_can_scroll_up/cursor')check_eq(Editor_state.screen_top1.line, 1, 'screen_top')check_eq(Editor_state.cursor1.line, 1, 'cursor') - replacement in source_text_tests.lua at line 1645
App.screen.check(y, 'abcdef', 'F - test_backspace_can_scroll_up/screen:1')App.screen.check(y, 'abcdef', 'screen:1') - replacement in source_text_tests.lua at line 1647
App.screen.check(y, 'ghi', 'F - test_backspace_can_scroll_up/screen:2')App.screen.check(y, 'ghi', 'screen:2') - replacement in source_text_tests.lua at line 1649
App.screen.check(y, 'jkl', 'F - test_backspace_can_scroll_up/screen:3')App.screen.check(y, 'jkl', 'screen:3') - edit in source_text_tests.lua at line 1653
io.write('\ntest_backspace_can_scroll_up_screen_line') - replacement in source_text_tests.lua at line 1663
App.screen.check(y, 'jkl', 'F - test_backspace_can_scroll_up_screen_line/baseline/screen:1')App.screen.check(y, 'jkl', 'baseline/screen:1') - replacement in source_text_tests.lua at line 1665
App.screen.check(y, 'mno', 'F - test_backspace_can_scroll_up_screen_line/baseline/screen:2')App.screen.check(y, 'mno', 'baseline/screen:2') - replacement in source_text_tests.lua at line 1669
App.screen.check(y, 'ghij', 'F - test_backspace_can_scroll_up_screen_line/screen:1')App.screen.check(y, 'ghij', 'screen:1') - replacement in source_text_tests.lua at line 1671
App.screen.check(y, 'kl', 'F - test_backspace_can_scroll_up_screen_line/screen:2')App.screen.check(y, 'kl', 'screen:2') - replacement in source_text_tests.lua at line 1673
App.screen.check(y, 'mno', 'F - test_backspace_can_scroll_up_screen_line/screen:3')check_eq(Editor_state.screen_top1.line, 3, 'F - test_backspace_can_scroll_up_screen_line/screen_top')check_eq(Editor_state.screen_top1.pos, 1, 'F - test_backspace_can_scroll_up_screen_line/screen_top')check_eq(Editor_state.cursor1.line, 3, 'F - test_backspace_can_scroll_up_screen_line/cursor:line')check_eq(Editor_state.cursor1.pos, 4, 'F - test_backspace_can_scroll_up_screen_line/cursor:pos')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') - edit in source_text_tests.lua at line 1681
io.write('\ntest_backspace_past_line_boundary') - replacement in source_text_tests.lua at line 1689
check_eq(Editor_state.lines[1].data, 'abcdef', "F - test_backspace_past_line_boundary")check_eq(Editor_state.lines[1].data, 'abcdef', 'check') - edit in source_text_tests.lua at line 1696
io.write('\ntest_backspace_over_selection') - replacement in source_text_tests.lua at line 1705
check_eq(Editor_state.lines[1].data, 'bc', "F - test_backspace_over_selection/data")check_eq(Editor_state.lines[1].data, 'bc', 'data') - replacement in source_text_tests.lua at line 1707
check_eq(Editor_state.cursor1.line, 1, "F - test_backspace_over_selection/cursor:line")check_eq(Editor_state.cursor1.pos, 1, "F - test_backspace_over_selection/cursor:pos")check_eq(Editor_state.cursor1.line, 1, 'cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'cursor:pos') - replacement in source_text_tests.lua at line 1710
check_nil(Editor_state.selection1.line, "F - test_backspace_over_selection/selection")check_nil(Editor_state.selection1.line, 'selection') - edit in source_text_tests.lua at line 1714
io.write('\ntest_backspace_over_selection_reverse') - replacement in source_text_tests.lua at line 1723
check_eq(Editor_state.lines[1].data, 'bc', "F - test_backspace_over_selection_reverse/data")check_eq(Editor_state.lines[1].data, 'bc', 'data') - replacement in source_text_tests.lua at line 1725
check_eq(Editor_state.cursor1.line, 1, "F - test_backspace_over_selection_reverse/cursor:line")check_eq(Editor_state.cursor1.pos, 1, "F - test_backspace_over_selection_reverse/cursor:pos")check_eq(Editor_state.cursor1.line, 1, 'cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'cursor:pos') - replacement in source_text_tests.lua at line 1728
check_nil(Editor_state.selection1.line, "F - test_backspace_over_selection_reverse/selection")check_nil(Editor_state.selection1.line, 'selection') - edit in source_text_tests.lua at line 1732
io.write('\ntest_backspace_over_multiple_lines') - replacement in source_text_tests.lua at line 1741
check_eq(Editor_state.lines[1].data, 'akl', "F - test_backspace_over_multiple_lines/data:1")check_eq(Editor_state.lines[2].data, 'mno', "F - test_backspace_over_multiple_lines/data:2")check_eq(Editor_state.lines[1].data, 'akl', 'data:1')check_eq(Editor_state.lines[2].data, 'mno', 'data:2') - replacement in source_text_tests.lua at line 1744
check_eq(Editor_state.cursor1.line, 1, "F - test_backspace_over_multiple_lines/cursor:line")check_eq(Editor_state.cursor1.pos, 2, "F - test_backspace_over_multiple_lines/cursor:pos")check_eq(Editor_state.cursor1.line, 1, 'cursor:line')check_eq(Editor_state.cursor1.pos, 2, 'cursor:pos') - replacement in source_text_tests.lua at line 1747
check_nil(Editor_state.selection1.line, "F - test_backspace_over_multiple_lines/selection")check_nil(Editor_state.selection1.line, 'selection') - edit in source_text_tests.lua at line 1751
io.write('\ntest_backspace_to_end_of_line') - replacement in source_text_tests.lua at line 1760
check_eq(Editor_state.lines[1].data, 'a', "F - test_backspace_to_start_of_line/data:1")check_eq(Editor_state.lines[2].data, 'def', "F - test_backspace_to_start_of_line/data:2")check_eq(Editor_state.lines[1].data, 'a', 'data:1')check_eq(Editor_state.lines[2].data, 'def', 'data:2') - replacement in source_text_tests.lua at line 1763
check_eq(Editor_state.cursor1.line, 1, "F - test_backspace_to_start_of_line/cursor:line")check_eq(Editor_state.cursor1.pos, 2, "F - test_backspace_to_start_of_line/cursor:pos")check_eq(Editor_state.cursor1.line, 1, 'cursor:line')check_eq(Editor_state.cursor1.pos, 2, 'cursor:pos') - replacement in source_text_tests.lua at line 1766
check_nil(Editor_state.selection1.line, "F - test_backspace_to_start_of_line/selection")check_nil(Editor_state.selection1.line, 'selection') - edit in source_text_tests.lua at line 1770
io.write('\ntest_backspace_to_start_of_line') - replacement in source_text_tests.lua at line 1779
check_eq(Editor_state.lines[1].data, 'abc', "F - test_backspace_to_start_of_line/data:1")check_eq(Editor_state.lines[2].data, 'f', "F - test_backspace_to_start_of_line/data:2")check_eq(Editor_state.lines[1].data, 'abc', 'data:1')check_eq(Editor_state.lines[2].data, 'f', 'data:2') - replacement in source_text_tests.lua at line 1782
check_eq(Editor_state.cursor1.line, 2, "F - test_backspace_to_start_of_line/cursor:line")check_eq(Editor_state.cursor1.pos, 1, "F - test_backspace_to_start_of_line/cursor:pos")check_eq(Editor_state.cursor1.line, 2, 'cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'cursor:pos') - replacement in source_text_tests.lua at line 1785
check_nil(Editor_state.selection1.line, "F - test_backspace_to_start_of_line/selection")check_nil(Editor_state.selection1.line, 'selection') - edit in source_text_tests.lua at line 1789
io.write('\ntest_undo_insert_text') - replacement in source_text_tests.lua at line 1799
check_eq(Editor_state.cursor1.line, 2, 'F - test_undo_insert_text/baseline/cursor:line')check_eq(Editor_state.cursor1.pos, 5, 'F - test_undo_insert_text/baseline/cursor:pos')check_nil(Editor_state.selection1.line, 'F - test_undo_insert_text/baseline/selection:line')check_nil(Editor_state.selection1.pos, 'F - test_undo_insert_text/baseline/selection:pos')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') - replacement in source_text_tests.lua at line 1804
App.screen.check(y, 'abc', 'F - test_undo_insert_text/baseline/screen:1')App.screen.check(y, 'abc', 'baseline/screen:1') - replacement in source_text_tests.lua at line 1806
App.screen.check(y, 'defg', 'F - test_undo_insert_text/baseline/screen:2')App.screen.check(y, 'defg', 'baseline/screen:2') - replacement in source_text_tests.lua at line 1808
App.screen.check(y, 'xyz', 'F - test_undo_insert_text/baseline/screen:3')App.screen.check(y, 'xyz', 'baseline/screen:3') - replacement in source_text_tests.lua at line 1811
check_eq(Editor_state.cursor1.line, 2, 'F - test_undo_insert_text/cursor:line')check_eq(Editor_state.cursor1.pos, 4, 'F - test_undo_insert_text/cursor:pos')check_nil(Editor_state.selection1.line, 'F - test_undo_insert_text/selection:line')check_nil(Editor_state.selection1.pos, 'F - test_undo_insert_text/selection:pos')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') - replacement in source_text_tests.lua at line 1816
App.screen.check(y, 'abc', 'F - test_undo_insert_text/screen:1')App.screen.check(y, 'abc', 'screen:1') - replacement in source_text_tests.lua at line 1818
App.screen.check(y, 'def', 'F - test_undo_insert_text/screen:2')App.screen.check(y, 'def', 'screen:2') - replacement in source_text_tests.lua at line 1820
App.screen.check(y, 'xyz', 'F - test_undo_insert_text/screen:3')App.screen.check(y, 'xyz', 'screen:3') - edit in source_text_tests.lua at line 1824
io.write('\ntest_undo_delete_text') - replacement in source_text_tests.lua at line 1833
check_eq(Editor_state.cursor1.line, 2, 'F - test_undo_delete_text/baseline/cursor:line')check_eq(Editor_state.cursor1.pos, 4, 'F - test_undo_delete_text/baseline/cursor:pos')check_nil(Editor_state.selection1.line, 'F - test_undo_delete_text/baseline/selection:line')check_nil(Editor_state.selection1.pos, 'F - test_undo_delete_text/baseline/selection:pos')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') - replacement in source_text_tests.lua at line 1838
App.screen.check(y, 'abc', 'F - test_undo_delete_text/baseline/screen:1')App.screen.check(y, 'abc', 'baseline/screen:1') - replacement in source_text_tests.lua at line 1840
App.screen.check(y, 'def', 'F - test_undo_delete_text/baseline/screen:2')App.screen.check(y, 'def', 'baseline/screen:2') - replacement in source_text_tests.lua at line 1842
App.screen.check(y, 'xyz', 'F - test_undo_delete_text/baseline/screen:3')App.screen.check(y, 'xyz', 'baseline/screen:3') - replacement in source_text_tests.lua at line 1846
check_eq(Editor_state.cursor1.line, 2, 'F - test_undo_delete_text/cursor:line')check_eq(Editor_state.cursor1.pos, 5, 'F - test_undo_delete_text/cursor:pos')check_nil(Editor_state.selection1.line, 'F - test_undo_delete_text/selection:line')check_nil(Editor_state.selection1.pos, 'F - test_undo_delete_text/selection:pos')--? check_eq(Editor_state.selection1.line, 2, 'F - test_undo_delete_text/selection:line')--? check_eq(Editor_state.selection1.pos, 4, 'F - test_undo_delete_text/selection:pos')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') - replacement in source_text_tests.lua at line 1853
App.screen.check(y, 'abc', 'F - test_undo_delete_text/screen:1')App.screen.check(y, 'abc', 'screen:1') - replacement in source_text_tests.lua at line 1855
App.screen.check(y, 'defg', 'F - test_undo_delete_text/screen:2')App.screen.check(y, 'defg', 'screen:2') - replacement in source_text_tests.lua at line 1857
App.screen.check(y, 'xyz', 'F - test_undo_delete_text/screen:3')App.screen.check(y, 'xyz', 'screen:3') - edit in source_text_tests.lua at line 1861
io.write('\ntest_undo_restores_selection') - replacement in source_text_tests.lua at line 1873
check_eq(Editor_state.lines[1].data, 'xbc', 'F - test_undo_restores_selection/baseline')check_nil(Editor_state.selection1.line, 'F - test_undo_restores_selection/baseline:selection')check_eq(Editor_state.lines[1].data, 'xbc', 'baseline')check_nil(Editor_state.selection1.line, 'baseline:selection') - replacement in source_text_tests.lua at line 1879
check_eq(Editor_state.selection1.line, 1, 'F - test_undo_restores_selection/line')check_eq(Editor_state.selection1.pos, 2, 'F - test_undo_restores_selection/pos')check_eq(Editor_state.selection1.line, 1, 'line')check_eq(Editor_state.selection1.pos, 2, 'pos') - edit in source_text_tests.lua at line 1884
io.write('\ntest_search') - replacement in source_text_tests.lua at line 1896
check_eq(Editor_state.cursor1.line, 2, 'F - test_search/1/cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'F - test_search/1/cursor:pos')check_eq(Editor_state.cursor1.line, 2, '1/cursor:line')check_eq(Editor_state.cursor1.pos, 1, '1/cursor:pos') - replacement in source_text_tests.lua at line 1906
check_eq(Editor_state.cursor1.line, 4, 'F - test_search/2/cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'F - test_search/2/cursor:pos')check_eq(Editor_state.cursor1.line, 4, '2/cursor:line')check_eq(Editor_state.cursor1.pos, 1, '2/cursor:pos') - edit in source_text_tests.lua at line 1911
io.write('\ntest_search_upwards') - replacement in source_text_tests.lua at line 1924
check_eq(Editor_state.cursor1.line, 1, 'F - test_search_upwards/2/cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'F - test_search_upwards/2/cursor:pos')check_eq(Editor_state.cursor1.line, 1, '2/cursor:line')check_eq(Editor_state.cursor1.pos, 1, '2/cursor:pos') - edit in source_text_tests.lua at line 1929
io.write('\ntest_search_wrap') - replacement in source_text_tests.lua at line 1942
check_eq(Editor_state.cursor1.line, 1, 'F - test_search_wrap/1/cursor:line')check_eq(Editor_state.cursor1.pos, 1, 'F - test_search_wrap/1/cursor:pos')check_eq(Editor_state.cursor1.line, 1, '1/cursor:line')check_eq(Editor_state.cursor1.pos, 1, '1/cursor:pos') - edit in source_text_tests.lua at line 1947
io.write('\ntest_search_wrap_upwards') - replacement in source_text_tests.lua at line 1960
check_eq(Editor_state.cursor1.line, 1, 'F - test_search_wrap_upwards/1/cursor:line')check_eq(Editor_state.cursor1.pos, 5, 'F - test_search_wrap_upwards/1/cursor:pos')check_eq(Editor_state.cursor1.line, 1, '1/cursor:line')check_eq(Editor_state.cursor1.pos, 5, '1/cursor:pos') - edit in source_tests.lua at line 2
io.write('\ntest_resize_window') - replacement in source_tests.lua at line 6
check_eq(App.screen.width, 300, 'F - test_resize_window/baseline/width')check_eq(App.screen.height, 300, 'F - test_resize_window/baseline/height')check_eq(Editor_state.left, Test_margin_left, 'F - test_resize_window/baseline/left_margin')check_eq(Editor_state.right, 300 - Test_margin_right, 'F - test_resize_window/baseline/right_margin')check_eq(App.screen.width, 300, 'baseline/width')check_eq(App.screen.height, 300, 'baseline/height')check_eq(Editor_state.left, Test_margin_left, 'baseline/left_margin')check_eq(Editor_state.right, 300 - Test_margin_right, 'baseline/right_margin') - replacement in source_tests.lua at line 12[14.165]→[14.147609:147743](∅→∅),[14.147609]→[14.147609:147743](∅→∅),[14.147743]→[14.166:247](∅→∅),[14.247]→[14.147882:147970](∅→∅),[14.147882]→[14.147882:147970](∅→∅),[14.147970]→[14.248:349](∅→∅)
check_eq(App.screen.width, 200, 'F - test_resize_window/width')check_eq(App.screen.height, 400, 'F - test_resize_window/height')check_eq(Editor_state.left, Margin_left, 'F - test_resize_window/left_margin')check_eq(Editor_state.right, 200-Margin_right, 'F - test_resize_window/right_margin')check_eq(Editor_state.width, 200-Margin_left-Margin_right, 'F - test_resize_window/drawing_width')check_eq(App.screen.width, 200, 'width')check_eq(App.screen.height, 400, 'height')check_eq(Editor_state.left, Margin_left, 'left_margin')check_eq(Editor_state.right, 200-Margin_right, 'right_margin')check_eq(Editor_state.width, 200-Margin_left-Margin_right, 'drawing_width') - edit in source_tests.lua at line 21
io.write('\ntest_show_log_browser_side') - replacement in source_tests.lua at line 30
check(not Show_log_browser_side, 'F - test_show_log_browser_side/baseline')check(not Show_log_browser_side, 'baseline') - replacement in source_tests.lua at line 34
check(Show_log_browser_side, 'F - test_show_log_browser_side')check(Show_log_browser_side, 'check') - edit in source_tests.lua at line 38
io.write('\ntest_show_log_browser_side_doubles_window_width_if_possible') - replacement in source_tests.lua at line 59
check_eq(App.screen.width, 600, 'F - test_show_log_browser_side_doubles_window_width_if_possible/display:width')check_eq(App.screen.width, 600, 'display:width') - replacement in source_tests.lua at line 61
check_eq(Editor_state.left, Margin_left, 'F - test_show_log_browser_side_doubles_window_width_if_possible/edit:left')check_eq(Editor_state.right, old_editor_right, 'F - test_show_log_browser_side_doubles_window_width_if_possible/edit:right')check_eq(Editor_state.left, Margin_left, 'edit:left')check_eq(Editor_state.right, old_editor_right, 'edit:right') - replacement in source_tests.lua at line 64
check_eq(Log_browser_state.left, App.screen.width/2 + Margin_left, 'F - test_show_log_browser_side_doubles_window_width_if_possible/log:left')check_eq(Log_browser_state.right, App.screen.width - Margin_right, 'F - test_show_log_browser_side_doubles_window_width_if_possible/log:right')check_eq(Log_browser_state.left, App.screen.width/2 + Margin_left, 'log:left')check_eq(Log_browser_state.right, App.screen.width - Margin_right, 'log:right') - edit in source_tests.lua at line 69
io.write('\ntest_show_log_browser_side_resizes_both_sides_if_cannot_double_window_width') - replacement in source_tests.lua at line 89
check_eq(Editor_state.left, Margin_left, 'F - test_show_log_browser_side_resizes_both_sides_if_cannot_double_window_width/edit:left')check_eq(Editor_state.right, App.screen.width/2 - Margin_right, 'F - test_show_log_browser_side_resizes_both_sides_if_cannot_double_window_width/edit:right')check_eq(Log_browser_state.left, App.screen.width/2 + Margin_left, 'F - test_show_log_browser_side_resizes_both_sides_if_cannot_double_window_width/log:left')check_eq(Log_browser_state.right, App.screen.width - Margin_right, 'F - test_show_log_browser_side_resizes_both_sides_if_cannot_double_window_width/log:right')check_eq(Editor_state.left, Margin_left, 'edit:left')check_eq(Editor_state.right, App.screen.width/2 - Margin_right, 'edit:right')check_eq(Log_browser_state.left, App.screen.width/2 + Margin_left, 'log:left')check_eq(Log_browser_state.right, App.screen.width - Margin_right, 'log:right') - edit in source_tests.lua at line 96
io.write('\ntest_drop_file') - replacement in source_tests.lua at line 116
check_eq(#Editor_state.lines, 3, 'F - test_drop_file/#lines')check_eq(Editor_state.lines[1].data, 'abc', 'F - test_drop_file/lines:1')check_eq(Editor_state.lines[2].data, 'def', 'F - test_drop_file/lines:2')check_eq(Editor_state.lines[3].data, 'ghi', 'F - test_drop_file/lines:3')check_eq(#Editor_state.lines, 3, '#lines')check_eq(Editor_state.lines[1].data, 'abc', 'lines:1')check_eq(Editor_state.lines[2].data, 'def', 'lines:2')check_eq(Editor_state.lines[3].data, 'ghi', 'lines:3') - edit in source_tests.lua at line 124
io.write('\ntest_drop_file_saves_previous') - replacement in source_tests.lua at line 149
check_eq(App.filesystem['foo'], 'abc\ndef\n', 'F - test_drop_file_saves_previous')check_eq(App.filesystem['foo'], 'abc\ndef\n', 'check') - edit in run_tests.lua at line 2
io.write('\ntest_resize_window') - replacement in run_tests.lua at line 5[14.84592]→[14.153:228](∅→∅),[14.228]→[14.232:309](∅→∅),[14.17141]→[14.232:309](∅→∅),[14.84758]→[14.232:309](∅→∅),[14.232]→[14.232:309](∅→∅),[14.309]→[14.4418:4513](∅→∅),[14.4513]→[14.562:665](∅→∅)
check_eq(App.screen.width, 300, 'F - test_resize_window/baseline/width')check_eq(App.screen.height, 300, 'F - test_resize_window/baseline/height')check_eq(Editor_state.left, Test_margin_left, 'F - test_resize_window/baseline/left_margin')check_eq(Editor_state.right, 300 - Test_margin_right, 'F - test_resize_window/baseline/left_margin')check_eq(App.screen.width, 300, 'baseline/width')check_eq(App.screen.height, 300, 'baseline/height')check_eq(Editor_state.left, Test_margin_left, 'baseline/left_margin')check_eq(Editor_state.right, 300 - Test_margin_right, 'baseline/left_margin') - replacement in run_tests.lua at line 11[14.719]→[14.332:466](∅→∅),[14.332]→[14.332:466](∅→∅),[14.466]→[14.720:801](∅→∅),[14.801]→[14.401:489](∅→∅),[14.4653]→[14.401:489](∅→∅),[14.401]→[14.401:489](∅→∅),[14.489]→[14.802:903](∅→∅)
check_eq(App.screen.width, 200, 'F - test_resize_window/width')check_eq(App.screen.height, 400, 'F - test_resize_window/height')check_eq(Editor_state.left, Margin_left, 'F - test_resize_window/left_margin')check_eq(Editor_state.right, 200-Margin_right, 'F - test_resize_window/right_margin')check_eq(Editor_state.width, 200-Margin_left-Margin_right, 'F - test_resize_window/drawing_width')check_eq(App.screen.width, 200, 'width')check_eq(App.screen.height, 400, 'height')check_eq(Editor_state.left, Margin_left, 'left_margin')check_eq(Editor_state.right, 200-Margin_right, 'right_margin')check_eq(Editor_state.width, 200-Margin_left-Margin_right, 'drawing_width') - edit in run_tests.lua at line 20
io.write('\ntest_drop_file') - replacement in run_tests.lua at line 40
check_eq(#Editor_state.lines, 3, 'F - test_drop_file/#lines')check_eq(Editor_state.lines[1].data, 'abc', 'F - test_drop_file/lines:1')check_eq(Editor_state.lines[2].data, 'def', 'F - test_drop_file/lines:2')check_eq(Editor_state.lines[3].data, 'ghi', 'F - test_drop_file/lines:3')check_eq(#Editor_state.lines, 3, '#lines')check_eq(Editor_state.lines[1].data, 'abc', 'lines:1')check_eq(Editor_state.lines[2].data, 'def', 'lines:2')check_eq(Editor_state.lines[3].data, 'ghi', 'lines:3') - edit in run_tests.lua at line 48
io.write('\ntest_drop_file_saves_previous') - replacement in run_tests.lua at line 73
check_eq(App.filesystem['foo'], 'abc\ndef\n', 'F - test_drop_file_saves_previous')check_eq(App.filesystem['foo'], 'abc\ndef\n', 'check') - edit in drawing_tests.lua at line 6
io.write('\ntest_creating_drawing_saves') - replacement in drawing_tests.lua at line 16
check_nil(App.filesystem['foo'], 'F - test_creating_drawing_saves/early')check_nil(App.filesystem['foo'], 'early') - replacement in drawing_tests.lua at line 21
check_eq(App.filesystem['foo'], '```lines\n```\n\n', 'F - test_creating_drawing_saves')check_eq(App.filesystem['foo'], '```lines\n```\n\n', 'check') - edit in drawing_tests.lua at line 25
io.write('\ntest_draw_line') - replacement in drawing_tests.lua at line 33[14.9697]→[14.106311:106470](∅→∅),[14.1357]→[14.106311:106470](∅→∅),[14.106470]→[14.263:380](∅→∅),[14.380]→[14.106597:106755](∅→∅),[14.742]→[14.106597:106755](∅→∅),[14.23610]→[14.106597:106755](∅→∅),[14.106597]→[14.106597:106755](∅→∅)
check_eq(#Editor_state.lines, 2, 'F - test_draw_line/baseline/#lines')check_eq(Editor_state.lines[1].mode, 'drawing', 'F - test_draw_line/baseline/mode')check_eq(Editor_state.line_cache[1].starty, Editor_state.top+Drawing_padding_top, 'F - test_draw_line/baseline/y')check_eq(Editor_state.lines[1].h, 128, 'F - test_draw_line/baseline/y')check_eq(#Editor_state.lines[1].shapes, 0, 'F - test_draw_line/baseline/#shapes')check_eq(#Editor_state.lines, 2, 'baseline/#lines')check_eq(Editor_state.lines[1].mode, 'drawing', 'baseline/mode')check_eq(Editor_state.line_cache[1].starty, Editor_state.top+Drawing_padding_top, 'baseline/y')check_eq(Editor_state.lines[1].h, 128, 'baseline/y')check_eq(#Editor_state.lines[1].shapes, 0, 'baseline/#shapes') - replacement in drawing_tests.lua at line 42[14.107038]→[14.15:137](∅→∅),[14.1239]→[14.15:137](∅→∅),[14.137]→[14.52:125](∅→∅),[14.1239]→[14.52:125](∅→∅)
check_eq(#drawing.shapes, 1, 'F - test_draw_line/#shapes')check_eq(#drawing.points, 2, 'F - test_draw_line/#points')check_eq(drawing.shapes[1].mode, 'line', 'F - test_draw_line/shape:1')check_eq(#drawing.shapes, 1, '#shapes')check_eq(#drawing.points, 2, '#points')check_eq(drawing.shapes[1].mode, 'line', 'shape:1') - replacement in drawing_tests.lua at line 47
check_eq(p1.x, 5, 'F - test_draw_line/p1:x')check_eq(p1.y, 6, 'F - test_draw_line/p1:y')check_eq(p2.x, 35, 'F - test_draw_line/p2:x')check_eq(p2.y, 36, 'F - test_draw_line/p2:y')check_eq(p1.x, 5, 'p1:x')check_eq(p1.y, 6, 'p1:y')check_eq(p2.x, 35, 'p2:x')check_eq(p2.y, 36, 'p2:y') - replacement in drawing_tests.lua at line 59
check_eq(#drawing.shapes, 1, 'F - test_draw_line/save/#shapes')check_eq(#drawing.points, 2, 'F - test_draw_line/save/#points')check_eq(drawing.shapes[1].mode, 'line', 'F - test_draw_line/save/shape:1')check_eq(#drawing.shapes, 1, 'save/#shapes')check_eq(#drawing.points, 2, 'save/#points')check_eq(drawing.shapes[1].mode, 'line', 'save/shape:1') - replacement in drawing_tests.lua at line 64
check_eq(p1.x, 5, 'F - test_draw_line/save/p1:x')check_eq(p1.y, 6, 'F - test_draw_line/save/p1:y')check_eq(p2.x, 35, 'F - test_draw_line/save/p2:x')check_eq(p2.y, 36, 'F - test_draw_line/save/p2:y')check_eq(p1.x, 5, 'save/p1:x')check_eq(p1.y, 6, 'save/p1:y')check_eq(p2.x, 35, 'save/p2:x')check_eq(p2.y, 36, 'save/p2:y') - edit in drawing_tests.lua at line 71
io.write('\ntest_draw_horizontal_line') - replacement in drawing_tests.lua at line 78[14.9724]→[14.107356:107537](∅→∅),[14.1372]→[14.107356:107537](∅→∅),[14.107537]→[14.381:509](∅→∅),[14.509]→[14.107675:107855](∅→∅),[14.1080]→[14.107675:107855](∅→∅),[14.24185]→[14.107675:107855](∅→∅),[14.107675]→[14.107675:107855](∅→∅)
check_eq(#Editor_state.lines, 2, 'F - test_draw_horizontal_line/baseline/#lines')check_eq(Editor_state.lines[1].mode, 'drawing', 'F - test_draw_horizontal_line/baseline/mode')check_eq(Editor_state.line_cache[1].starty, Editor_state.top+Drawing_padding_top, 'F - test_draw_horizontal_line/baseline/y')check_eq(Editor_state.lines[1].h, 128, 'F - test_draw_horizontal_line/baseline/y')check_eq(#Editor_state.lines[1].shapes, 0, 'F - test_draw_horizontal_line/baseline/#shapes')check_eq(#Editor_state.lines, 2, 'baseline/#lines')check_eq(Editor_state.lines[1].mode, 'drawing', 'baseline/mode')check_eq(Editor_state.line_cache[1].starty, Editor_state.top+Drawing_padding_top, 'baseline/y')check_eq(Editor_state.lines[1].h, 128, 'baseline/y')check_eq(#Editor_state.lines[1].shapes, 0, 'baseline/#shapes') - replacement in drawing_tests.lua at line 87[14.108138]→[14.138:282](∅→∅),[14.1319]→[14.138:282](∅→∅),[14.282]→[14.1319:1411](∅→∅),[14.1319]→[14.1319:1411](∅→∅)
check_eq(#drawing.shapes, 1, 'F - test_draw_horizontal_line/#shapes')check_eq(#drawing.points, 2, 'F - test_draw_horizontal_line/#points')check_eq(drawing.shapes[1].mode, 'manhattan', 'F - test_draw_horizontal_line/shape_mode')check_eq(#drawing.shapes, 1, '#shapes')check_eq(#drawing.points, 2, '#points')check_eq(drawing.shapes[1].mode, 'manhattan', 'shape_mode') - replacement in drawing_tests.lua at line 92
check_eq(p1.x, 5, 'F - test_draw_horizontal_line/p1:x')check_eq(p1.y, 6, 'F - test_draw_horizontal_line/p1:y')check_eq(p2.x, 35, 'F - test_draw_horizontal_line/p2:x')check_eq(p2.y, p1.y, 'F - test_draw_horizontal_line/p2:y')check_eq(p1.x, 5, 'p1:x')check_eq(p1.y, 6, 'p1:y')check_eq(p2.x, 35, 'p2:x')check_eq(p2.y, p1.y, 'p2:y') - edit in drawing_tests.lua at line 99
io.write('\ntest_draw_circle') - replacement in drawing_tests.lua at line 106[14.9751]→[14.108349:108512](∅→∅),[14.1387]→[14.108349:108512](∅→∅),[14.108512]→[14.510:629](∅→∅),[14.629]→[14.108641:108803](∅→∅),[14.1409]→[14.108641:108803](∅→∅),[14.24751]→[14.108641:108803](∅→∅),[14.108641]→[14.108641:108803](∅→∅)
check_eq(#Editor_state.lines, 2, 'F - test_draw_circle/baseline/#lines')check_eq(Editor_state.lines[1].mode, 'drawing', 'F - test_draw_circle/baseline/mode')check_eq(Editor_state.line_cache[1].starty, Editor_state.top+Drawing_padding_top, 'F - test_draw_circle/baseline/y')check_eq(Editor_state.lines[1].h, 128, 'F - test_draw_circle/baseline/y')check_eq(#Editor_state.lines[1].shapes, 0, 'F - test_draw_circle/baseline/#shapes')check_eq(#Editor_state.lines, 2, 'baseline/#lines')check_eq(Editor_state.lines[1].mode, 'drawing', 'baseline/mode')check_eq(Editor_state.line_cache[1].starty, Editor_state.top+Drawing_padding_top, 'baseline/y')check_eq(Editor_state.lines[1].h, 128, 'baseline/y')check_eq(#Editor_state.lines[1].shapes, 0, 'baseline/#shapes') - replacement in drawing_tests.lua at line 117[14.109218]→[14.283:409](∅→∅),[14.2942]→[14.283:409](∅→∅),[14.409]→[14.2942:3103](∅→∅),[14.2942]→[14.2942:3103](∅→∅)
check_eq(#drawing.shapes, 1, 'F - test_draw_circle/#shapes')check_eq(#drawing.points, 1, 'F - test_draw_circle/#points')check_eq(drawing.shapes[1].mode, 'circle', 'F - test_draw_horizontal_line/shape_mode')check_eq(drawing.shapes[1].radius, 30, 'F - test_draw_circle/radius')check_eq(#drawing.shapes, 1, '#shapes')check_eq(#drawing.points, 1, '#points')check_eq(drawing.shapes[1].mode, 'circle', 'shape_mode')check_eq(drawing.shapes[1].radius, 30, 'radius') - replacement in drawing_tests.lua at line 122
check_eq(center.x, 35, 'F - test_draw_circle/center:x')check_eq(center.y, 36, 'F - test_draw_circle/center:y')check_eq(center.x, 35, 'center:x')check_eq(center.y, 36, 'center:y') - edit in drawing_tests.lua at line 127
io.write('\ntest_cancel_stroke') - replacement in drawing_tests.lua at line 135[14.9778]→[14.109461:109628](∅→∅),[14.1402]→[14.109461:109628](∅→∅),[14.109628]→[14.630:751](∅→∅),[14.751]→[14.109759:109925](∅→∅),[14.1845]→[14.109759:109925](∅→∅),[14.25437]→[14.109759:109925](∅→∅),[14.109759]→[14.109759:109925](∅→∅)
check_eq(#Editor_state.lines, 2, 'F - test_cancel_stroke/baseline/#lines')check_eq(Editor_state.lines[1].mode, 'drawing', 'F - test_cancel_stroke/baseline/mode')check_eq(Editor_state.line_cache[1].starty, Editor_state.top+Drawing_padding_top, 'F - test_cancel_stroke/baseline/y')check_eq(Editor_state.lines[1].h, 128, 'F - test_cancel_stroke/baseline/y')check_eq(#Editor_state.lines[1].shapes, 0, 'F - test_cancel_stroke/baseline/#shapes')check_eq(#Editor_state.lines, 2, 'baseline/#lines')check_eq(Editor_state.lines[1].mode, 'drawing', 'baseline/mode')check_eq(Editor_state.line_cache[1].starty, Editor_state.top+Drawing_padding_top, 'baseline/y')check_eq(Editor_state.lines[1].h, 128, 'baseline/y')check_eq(#Editor_state.lines[1].shapes, 0, 'baseline/#shapes') - replacement in drawing_tests.lua at line 146
check_eq(#drawing.shapes, 0, 'F - test_cancel_stroke/#shapes')check_eq(#drawing.shapes, 0, '#shapes') - edit in drawing_tests.lua at line 150
io.write('\ntest_keys_do_not_affect_shape_when_mouse_up') - replacement in drawing_tests.lua at line 161
check_eq(Editor_state.current_drawing_mode, 'line', 'F - test_keys_do_not_affect_shape_when_mouse_up/drawing_mode')check_eq(Editor_state.current_drawing_mode, 'line', 'drawing_mode') - edit in drawing_tests.lua at line 166
io.write('\ntest_draw_circle_mid_stroke') - replacement in drawing_tests.lua at line 173[14.9832]→[14.110876:111061](∅→∅),[14.1432]→[14.110876:111061](∅→∅),[14.111061]→[14.752:882](∅→∅),[14.882]→[14.111201:111385](∅→∅),[14.2286]→[14.111201:111385](∅→∅),[14.26326]→[14.111201:111385](∅→∅),[14.111201]→[14.111201:111385](∅→∅)
check_eq(#Editor_state.lines, 2, 'F - test_draw_circle_mid_stroke/baseline/#lines')check_eq(Editor_state.lines[1].mode, 'drawing', 'F - test_draw_circle_mid_stroke/baseline/mode')check_eq(Editor_state.line_cache[1].starty, Editor_state.top+Drawing_padding_top, 'F - test_draw_circle_mid_stroke/baseline/y')check_eq(Editor_state.lines[1].h, 128, 'F - test_draw_circle_mid_stroke/baseline/y')check_eq(#Editor_state.lines[1].shapes, 0, 'F - test_draw_circle_mid_stroke/baseline/#shapes')check_eq(#Editor_state.lines, 2, 'baseline/#lines')check_eq(Editor_state.lines[1].mode, 'drawing', 'baseline/mode')check_eq(Editor_state.line_cache[1].starty, Editor_state.top+Drawing_padding_top, 'baseline/y')check_eq(Editor_state.lines[1].h, 128, 'baseline/y')check_eq(#Editor_state.lines[1].shapes, 0, 'baseline/#shapes') - replacement in drawing_tests.lua at line 184[14.111800]→[14.410:558](∅→∅),[14.5378]→[14.410:558](∅→∅),[14.558]→[14.5378:5550](∅→∅),[14.5378]→[14.5378:5550](∅→∅)
check_eq(#drawing.shapes, 1, 'F - test_draw_circle_mid_stroke/#shapes')check_eq(#drawing.points, 1, 'F - test_draw_circle_mid_stroke/#points')check_eq(drawing.shapes[1].mode, 'circle', 'F - test_draw_horizontal_line/shape_mode')check_eq(drawing.shapes[1].radius, 30, 'F - test_draw_circle_mid_stroke/radius')check_eq(#drawing.shapes, 1, '#shapes')check_eq(#drawing.points, 1, '#points')check_eq(drawing.shapes[1].mode, 'circle', 'shape_mode')check_eq(drawing.shapes[1].radius, 30, 'radius') - replacement in drawing_tests.lua at line 189
check_eq(center.x, 35, 'F - test_draw_circle_mid_stroke/center:x')check_eq(center.y, 36, 'F - test_draw_circle_mid_stroke/center:y')check_eq(center.x, 35, 'center:x')check_eq(center.y, 36, 'center:y') - edit in drawing_tests.lua at line 194
io.write('\ntest_draw_arc') - replacement in drawing_tests.lua at line 201[14.9859]→[14.112013:112170](∅→∅),[14.1447]→[14.112013:112170](∅→∅),[14.112170]→[14.883:999](∅→∅),[14.999]→[14.112296:112452](∅→∅),[14.2717]→[14.112296:112452](∅→∅),[14.27007]→[14.112296:112452](∅→∅),[14.112296]→[14.112296:112452](∅→∅)
check_eq(#Editor_state.lines, 2, 'F - test_draw_arc/baseline/#lines')check_eq(Editor_state.lines[1].mode, 'drawing', 'F - test_draw_arc/baseline/mode')check_eq(Editor_state.line_cache[1].starty, Editor_state.top+Drawing_padding_top, 'F - test_draw_arc/baseline/y')check_eq(Editor_state.lines[1].h, 128, 'F - test_draw_arc/baseline/y')check_eq(#Editor_state.lines[1].shapes, 0, 'F - test_draw_arc/baseline/#shapes')check_eq(#Editor_state.lines, 2, 'baseline/#lines')check_eq(Editor_state.lines[1].mode, 'drawing', 'baseline/mode')check_eq(Editor_state.line_cache[1].starty, Editor_state.top+Drawing_padding_top, 'baseline/y')check_eq(Editor_state.lines[1].h, 128, 'baseline/y')check_eq(#Editor_state.lines[1].shapes, 0, 'baseline/#shapes') - replacement in drawing_tests.lua at line 212[14.112863]→[14.559:619](∅→∅),[14.6918]→[14.559:619](∅→∅),[14.619]→[3.14:74](∅→∅),[3.74]→[14.6918:7004](∅→∅),[14.679]→[14.6918:7004](∅→∅),[14.6918]→[14.6918:7004](∅→∅)
check_eq(#drawing.shapes, 1, 'F - test_draw_arc/#shapes')check_eq(#drawing.points, 1, 'F - test_draw_arc/#points')check_eq(drawing.shapes[1].mode, 'arc', 'F - test_draw_horizontal_line/shape_mode')check_eq(#drawing.shapes, 1, '#shapes')check_eq(#drawing.points, 1, '#points')check_eq(drawing.shapes[1].mode, 'arc', 'shape_mode') - replacement in drawing_tests.lua at line 216
check_eq(arc.radius, 30, 'F - test_draw_arc/radius')check_eq(arc.radius, 30, 'radius') - replacement in drawing_tests.lua at line 218
check_eq(center.x, 35, 'F - test_draw_arc/center:x')check_eq(center.y, 36, 'F - test_draw_arc/center:y')check_eq(arc.start_angle, 0, 'F - test_draw_arc/start:angle')check_eq(arc.end_angle, math.pi/4, 'F - test_draw_arc/end:angle')check_eq(center.x, 35, 'center:x')check_eq(center.y, 36, 'center:y')check_eq(arc.start_angle, 0, 'start:angle')check_eq(arc.end_angle, math.pi/4, 'end:angle') - edit in drawing_tests.lua at line 225
io.write('\ntest_draw_polygon') - replacement in drawing_tests.lua at line 231[14.9886]→[14.113029:113295](∅→∅),[14.1462]→[14.113029:113295](∅→∅),[14.113295]→[14.1000:1120](∅→∅),[14.1120]→[14.113425:113589](∅→∅),[14.3148]→[14.113425:113589](∅→∅),[14.27688]→[14.113425:113589](∅→∅),[14.113425]→[14.113425:113589](∅→∅)
check_eq(Editor_state.current_drawing_mode, 'line', 'F - test_draw_polygon/baseline/drawing_mode')check_eq(#Editor_state.lines, 2, 'F - test_draw_polygon/baseline/#lines')check_eq(Editor_state.lines[1].mode, 'drawing', 'F - test_draw_polygon/baseline/mode')check_eq(Editor_state.line_cache[1].starty, Editor_state.top+Drawing_padding_top, 'F - test_draw_polygon/baseline/y')check_eq(Editor_state.lines[1].h, 128, 'F - test_draw_polygon/baseline/y')check_eq(#Editor_state.lines[1].shapes, 0, 'F - test_draw_polygon/baseline/#shapes')check_eq(Editor_state.current_drawing_mode, 'line', 'baseline/drawing_mode')check_eq(#Editor_state.lines, 2, 'baseline/#lines')check_eq(Editor_state.lines[1].mode, 'drawing', 'baseline/mode')check_eq(Editor_state.line_cache[1].starty, Editor_state.top+Drawing_padding_top, 'baseline/y')check_eq(Editor_state.lines[1].h, 128, 'baseline/y')check_eq(#Editor_state.lines[1].shapes, 0, 'baseline/#shapes') - replacement in drawing_tests.lua at line 246
check_eq(#drawing.shapes, 1, 'F - test_draw_polygon/#shapes')check_eq(#drawing.points, 3, 'F - test_draw_polygon/vertices')check_eq(#drawing.shapes, 1, '#shapes')check_eq(#drawing.points, 3, 'vertices') - replacement in drawing_tests.lua at line 249
check_eq(shape.mode, 'polygon', 'F - test_draw_polygon/shape_mode')check_eq(#shape.vertices, 3, 'F - test_draw_polygon/vertices')check_eq(shape.mode, 'polygon', 'shape_mode')check_eq(#shape.vertices, 3, 'vertices') - replacement in drawing_tests.lua at line 252
check_eq(p.x, 5, 'F - test_draw_polygon/p1:x')check_eq(p.y, 6, 'F - test_draw_polygon/p1:y')check_eq(p.x, 5, 'p1:x')check_eq(p.y, 6, 'p1:y') - replacement in drawing_tests.lua at line 255
check_eq(p.x, 65, 'F - test_draw_polygon/p2:x')check_eq(p.y, 36, 'F - test_draw_polygon/p2:y')check_eq(p.x, 65, 'p2:x')check_eq(p.y, 36, 'p2:y') - replacement in drawing_tests.lua at line 258
check_eq(p.x, 35, 'F - test_draw_polygon/p3:x')check_eq(p.y, 26, 'F - test_draw_polygon/p3:y')check_eq(p.x, 35, 'p3:x')check_eq(p.y, 26, 'p3:y') - edit in drawing_tests.lua at line 263
io.write('\ntest_draw_rectangle') - replacement in drawing_tests.lua at line 269[14.9913]→[14.114147:114419](∅→∅),[14.1477]→[14.114147:114419](∅→∅),[14.114419]→[14.1121:1243](∅→∅),[14.1243]→[14.114551:114719](∅→∅),[14.3562]→[14.114551:114719](∅→∅),[14.28352]→[14.114551:114719](∅→∅),[14.114551]→[14.114551:114719](∅→∅)
check_eq(Editor_state.current_drawing_mode, 'line', 'F - test_draw_rectangle/baseline/drawing_mode')check_eq(#Editor_state.lines, 2, 'F - test_draw_rectangle/baseline/#lines')check_eq(Editor_state.lines[1].mode, 'drawing', 'F - test_draw_rectangle/baseline/mode')check_eq(Editor_state.line_cache[1].starty, Editor_state.top+Drawing_padding_top, 'F - test_draw_rectangle/baseline/y')check_eq(Editor_state.lines[1].h, 128, 'F - test_draw_rectangle/baseline/y')check_eq(#Editor_state.lines[1].shapes, 0, 'F - test_draw_rectangle/baseline/#shapes')check_eq(Editor_state.current_drawing_mode, 'line', 'baseline/drawing_mode')check_eq(#Editor_state.lines, 2, 'baseline/#lines')check_eq(Editor_state.lines[1].mode, 'drawing', 'baseline/mode')check_eq(Editor_state.line_cache[1].starty, Editor_state.top+Drawing_padding_top, 'baseline/y')check_eq(Editor_state.lines[1].h, 128, 'baseline/y')check_eq(#Editor_state.lines[1].shapes, 0, 'baseline/#shapes') - replacement in drawing_tests.lua at line 287
check_eq(#drawing.shapes, 1, 'F - test_draw_rectangle/#shapes')check_eq(#drawing.points, 5, 'F - test_draw_rectangle/#points') -- currently includes every point addedcheck_eq(#drawing.shapes, 1, '#shapes')check_eq(#drawing.points, 5, '#points') -- currently includes every point added - replacement in drawing_tests.lua at line 290
check_eq(shape.mode, 'rectangle', 'F - test_draw_rectangle/shape_mode')check_eq(#shape.vertices, 4, 'F - test_draw_rectangle/vertices')check_eq(shape.mode, 'rectangle', 'shape_mode')check_eq(#shape.vertices, 4, 'vertices') - replacement in drawing_tests.lua at line 293
check_eq(p.x, 35, 'F - test_draw_rectangle/p1:x')check_eq(p.y, 36, 'F - test_draw_rectangle/p1:y')check_eq(p.x, 35, 'p1:x')check_eq(p.y, 36, 'p1:y') - replacement in drawing_tests.lua at line 296
check_eq(p.x, 75, 'F - test_draw_rectangle/p2:x')check_eq(p.y, 76, 'F - test_draw_rectangle/p2:y')check_eq(p.x, 75, 'p2:x')check_eq(p.y, 76, 'p2:y') - replacement in drawing_tests.lua at line 299
check_eq(p.x, 70, 'F - test_draw_rectangle/p3:x')check_eq(p.y, 81, 'F - test_draw_rectangle/p3:y')check_eq(p.x, 70, 'p3:x')check_eq(p.y, 81, 'p3:y') - replacement in drawing_tests.lua at line 302
check_eq(p.x, 30, 'F - test_draw_rectangle/p4:x')check_eq(p.y, 41, 'F - test_draw_rectangle/p4:y')check_eq(p.x, 30, 'p4:x')check_eq(p.y, 41, 'p4:y') - edit in drawing_tests.lua at line 307
io.write('\ntest_draw_rectangle_intermediate') - replacement in drawing_tests.lua at line 313[14.9940]→[14.115387:115698](∅→∅),[14.1492]→[14.115387:115698](∅→∅),[14.115698]→[14.1244:1379](∅→∅),[14.1379]→[14.115843:116037](∅→∅),[14.4072]→[14.115843:116037](∅→∅),[14.29125]→[14.115843:116037](∅→∅),[14.115843]→[14.115843:116037](∅→∅)
check_eq(Editor_state.current_drawing_mode, 'line', 'F - test_draw_rectangle_intermediate/baseline/drawing_mode')check_eq(#Editor_state.lines, 2, 'F - test_draw_rectangle_intermediate/baseline/#lines')check_eq(Editor_state.lines[1].mode, 'drawing', 'F - test_draw_rectangle_intermediate/baseline/mode')check_eq(Editor_state.line_cache[1].starty, Editor_state.top+Drawing_padding_top, 'F - test_draw_rectangle_intermediate/baseline/y')check_eq(Editor_state.lines[1].h, 128, 'F - test_draw_rectangle_intermediate/baseline/y')check_eq(#Editor_state.lines[1].shapes, 0, 'F - test_draw_rectangle_intermediate/baseline/#shapes')check_eq(Editor_state.current_drawing_mode, 'line', 'baseline/drawing_mode')check_eq(#Editor_state.lines, 2, 'baseline/#lines')check_eq(Editor_state.lines[1].mode, 'drawing', 'baseline/mode')check_eq(Editor_state.line_cache[1].starty, Editor_state.top+Drawing_padding_top, 'baseline/y')check_eq(Editor_state.lines[1].h, 128, 'baseline/y')check_eq(#Editor_state.lines[1].shapes, 0, 'baseline/#shapes') - replacement in drawing_tests.lua at line 329
check_eq(#drawing.points, 3, 'F - test_draw_rectangle_intermediate/#points') -- currently includes every point addedcheck_eq(#drawing.points, 3, '#points') -- currently includes every point added - replacement in drawing_tests.lua at line 331
check_eq(pending.mode, 'rectangle', 'F - test_draw_rectangle_intermediate/shape_mode')check_eq(#pending.vertices, 2, 'F - test_draw_rectangle_intermediate/vertices')check_eq(pending.mode, 'rectangle', 'shape_mode')check_eq(#pending.vertices, 2, 'vertices') - replacement in drawing_tests.lua at line 334
check_eq(p.x, 35, 'F - test_draw_rectangle_intermediate/p1:x')check_eq(p.y, 36, 'F - test_draw_rectangle_intermediate/p1:y')check_eq(p.x, 35, 'p1:x')check_eq(p.y, 36, 'p1:y') - replacement in drawing_tests.lua at line 337
check_eq(p.x, 75, 'F - test_draw_rectangle_intermediate/p2:x')check_eq(p.y, 76, 'F - test_draw_rectangle_intermediate/p2:y')check_eq(p.x, 75, 'p2:x')check_eq(p.y, 76, 'p2:y') - edit in drawing_tests.lua at line 343
io.write('\ntest_draw_square') - replacement in drawing_tests.lua at line 349[14.9967]→[14.116582:116845](∅→∅),[14.1507]→[14.116582:116845](∅→∅),[14.116845]→[14.1380:1499](∅→∅),[14.1499]→[14.116974:117136](∅→∅),[14.4454]→[14.116974:117136](∅→∅),[14.29757]→[14.116974:117136](∅→∅),[14.116974]→[14.116974:117136](∅→∅)
check_eq(Editor_state.current_drawing_mode, 'line', 'F - test_draw_square/baseline/drawing_mode')check_eq(#Editor_state.lines, 2, 'F - test_draw_square/baseline/#lines')check_eq(Editor_state.lines[1].mode, 'drawing', 'F - test_draw_square/baseline/mode')check_eq(Editor_state.line_cache[1].starty, Editor_state.top+Drawing_padding_top, 'F - test_draw_square/baseline/y')check_eq(Editor_state.lines[1].h, 128, 'F - test_draw_square/baseline/y')check_eq(#Editor_state.lines[1].shapes, 0, 'F - test_draw_square/baseline/#shapes')check_eq(Editor_state.current_drawing_mode, 'line', 'baseline/drawing_mode')check_eq(#Editor_state.lines, 2, 'baseline/#lines')check_eq(Editor_state.lines[1].mode, 'drawing', 'baseline/mode')check_eq(Editor_state.line_cache[1].starty, Editor_state.top+Drawing_padding_top, 'baseline/y')check_eq(Editor_state.lines[1].h, 128, 'baseline/y')check_eq(#Editor_state.lines[1].shapes, 0, 'baseline/#shapes') - replacement in drawing_tests.lua at line 367
check_eq(#drawing.shapes, 1, 'F - test_draw_square/#shapes')check_eq(#drawing.points, 5, 'F - test_draw_square/#points') -- currently includes every point addedcheck_eq(drawing.shapes[1].mode, 'square', 'F - test_draw_square/shape_mode')check_eq(#drawing.shapes[1].vertices, 4, 'F - test_draw_square/vertices')check_eq(#drawing.shapes, 1, '#shapes')check_eq(#drawing.points, 5, '#points') -- currently includes every point addedcheck_eq(drawing.shapes[1].mode, 'square', 'shape_mode')check_eq(#drawing.shapes[1].vertices, 4, 'vertices') - replacement in drawing_tests.lua at line 372
check_eq(p.x, 35, 'F - test_draw_square/p1:x')check_eq(p.y, 36, 'F - test_draw_square/p1:y')check_eq(p.x, 35, 'p1:x')check_eq(p.y, 36, 'p1:y') - replacement in drawing_tests.lua at line 375
check_eq(p.x, 65, 'F - test_draw_square/p2:x')check_eq(p.y, 66, 'F - test_draw_square/p2:y')check_eq(p.x, 65, 'p2:x')check_eq(p.y, 66, 'p2:y') - replacement in drawing_tests.lua at line 378
check_eq(p.x, 35, 'F - test_draw_square/p3:x')check_eq(p.y, 96, 'F - test_draw_square/p3:y')check_eq(p.x, 35, 'p3:x')check_eq(p.y, 96, 'p3:y') - replacement in drawing_tests.lua at line 381
check_eq(p.x, 5, 'F - test_draw_square/p4:x')check_eq(p.y, 66, 'F - test_draw_square/p4:y')check_eq(p.x, 5, 'p4:x')check_eq(p.y, 66, 'p4:y') - edit in drawing_tests.lua at line 386
io.write('\ntest_name_point') - replacement in drawing_tests.lua at line 398
check_eq(#drawing.shapes, 1, 'F - test_name_point/baseline/#shapes')check_eq(#drawing.points, 2, 'F - test_name_point/baseline/#points')check_eq(drawing.shapes[1].mode, 'line', 'F - test_name_point/baseline/shape:1')check_eq(#drawing.shapes, 1, 'baseline/#shapes')check_eq(#drawing.points, 2, 'baseline/#points')check_eq(drawing.shapes[1].mode, 'line', 'baseline/shape:1') - replacement in drawing_tests.lua at line 403
check_eq(p1.x, 5, 'F - test_name_point/baseline/p1:x')check_eq(p1.y, 6, 'F - test_name_point/baseline/p1:y')check_eq(p2.x, 35, 'F - test_name_point/baseline/p2:x')check_eq(p2.y, 36, 'F - test_name_point/baseline/p2:y')check_nil(p2.name, 'F - test_name_point/baseline/p2:name')check_eq(p1.x, 5, 'baseline/p1:x')check_eq(p1.y, 6, 'baseline/p1:y')check_eq(p2.x, 35, 'baseline/p2:x')check_eq(p2.y, 36, 'baseline/p2:y')check_nil(p2.name, 'baseline/p2:name') - replacement in drawing_tests.lua at line 410
check_eq(Editor_state.current_drawing_mode, 'name', 'F - test_name_point/mode:1')check_eq(Editor_state.current_drawing_mode, 'name', 'mode:1') - replacement in drawing_tests.lua at line 412
check_eq(p2.name, 'A', 'F - test_name_point')check_eq(p2.name, 'A', 'check1') - replacement in drawing_tests.lua at line 414
check_eq(Editor_state.current_drawing_mode, 'name', 'F - test_name_point/mode:2')check_eq(Editor_state.current_drawing_mode, 'name', 'mode:2') - replacement in drawing_tests.lua at line 417[14.11246]→[14.118334:118418](∅→∅),[14.1651]→[14.118334:118418](∅→∅),[14.118418]→[14.1722:1770](∅→∅),[14.1722]→[14.1722:1770](∅→∅)
check_eq(Editor_state.current_drawing_mode, 'line', 'F - test_name_point/mode:3')check_eq(p2.name, 'A', 'F - test_name_point')check_eq(Editor_state.current_drawing_mode, 'line', 'mode:3')check_eq(p2.name, 'A', 'check2') - replacement in drawing_tests.lua at line 426
check_eq(p2.name, 'A', 'F - test_name_point/save')check_eq(p2.name, 'A', 'save') - edit in drawing_tests.lua at line 430
io.write('\ntest_move_point') - replacement in drawing_tests.lua at line 441
check_eq(#drawing.shapes, 1, 'F - test_move_point/baseline/#shapes')check_eq(#drawing.points, 2, 'F - test_move_point/baseline/#points')check_eq(drawing.shapes[1].mode, 'line', 'F - test_move_point/baseline/shape:1')check_eq(#drawing.shapes, 1, 'baseline/#shapes')check_eq(#drawing.points, 2, 'baseline/#points')check_eq(drawing.shapes[1].mode, 'line', 'baseline/shape:1') - replacement in drawing_tests.lua at line 446
check_eq(p1.x, 5, 'F - test_move_point/baseline/p1:x')check_eq(p1.y, 6, 'F - test_move_point/baseline/p1:y')check_eq(p2.x, 35, 'F - test_move_point/baseline/p2:x')check_eq(p2.y, 36, 'F - test_move_point/baseline/p2:y')check_eq(p1.x, 5, 'baseline/p1:x')check_eq(p1.y, 6, 'baseline/p1:y')check_eq(p2.x, 35, 'baseline/p2:x')check_eq(p2.y, 36, 'baseline/p2:y') - replacement in drawing_tests.lua at line 458
check_eq(p2.x, 35, 'F - test_move_point/save/x')check_eq(p2.y, 36, 'F - test_move_point/save/y')check_eq(p2.x, 35, 'save/x')check_eq(p2.y, 36, 'save/y') - replacement in drawing_tests.lua at line 463
check_eq(Editor_state.current_drawing_mode, 'move', 'F - test_move_point/mode:1')check_eq(Editor_state.current_drawing_mode, 'move', 'mode:1') - replacement in drawing_tests.lua at line 465
check_eq(drawing.pending.mode, 'move', 'F - test_move_point/mode:2')check_eq(drawing.pending.target_point, p2, 'F - test_move_point/target')check_eq(drawing.pending.mode, 'move', 'mode:2')check_eq(drawing.pending.target_point, p2, 'target') - replacement in drawing_tests.lua at line 471
check_eq(p2.x, 26, 'F - test_move_point/x')check_eq(p2.y, 44, 'F - test_move_point/y')check_eq(p2.x, 26, 'x')check_eq(p2.y, 44, 'y') - replacement in drawing_tests.lua at line 475[14.5467]→[14.119550:119634](∅→∅),[14.11704]→[14.119550:119634](∅→∅),[14.31296]→[14.119550:119634](∅→∅),[14.119550]→[14.119550:119634](∅→∅),[14.119634]→[14.1875:1938](∅→∅),[14.1875]→[14.1875:1938](∅→∅)
check_eq(Editor_state.current_drawing_mode, 'line', 'F - test_move_point/mode:3')check_eq(drawing.pending, {}, 'F - test_move_point/pending')check_eq(Editor_state.current_drawing_mode, 'line', 'mode:3')check_eq(drawing.pending, {}, 'pending') - replacement in drawing_tests.lua at line 484
check_eq(p2.x, 26, 'F - test_move_point/save/x')check_eq(p2.y, 44, 'F - test_move_point/save/y')check_eq(p2.x, 26, 'save/x')check_eq(p2.y, 44, 'save/y') - edit in drawing_tests.lua at line 489
io.write('\ntest_move_point_on_manhattan_line') - replacement in drawing_tests.lua at line 500
check_eq(#drawing.shapes, 1, 'F - test_move_point_on_manhattan_line/baseline/#shapes')check_eq(#drawing.points, 2, 'F - test_move_point_on_manhattan_line/baseline/#points')check_eq(drawing.shapes[1].mode, 'manhattan', 'F - test_move_point_on_manhattan_line/baseline/shape:1')check_eq(#drawing.shapes, 1, 'baseline/#shapes')check_eq(#drawing.points, 2, 'baseline/#points')check_eq(drawing.shapes[1].mode, 'manhattan', 'baseline/shape:1') - replacement in drawing_tests.lua at line 506
check_eq(Editor_state.current_drawing_mode, 'move', 'F - test_move_point_on_manhattan_line/mode:1')check_eq(Editor_state.current_drawing_mode, 'move', 'mode:1') - replacement in drawing_tests.lua at line 511
check_eq(drawing.shapes[1].mode, 'line', 'F - test_move_point_on_manhattan_line/baseline/shape:1')check_eq(drawing.shapes[1].mode, 'line', 'baseline/shape:1') - edit in drawing_tests.lua at line 515
io.write('\ntest_delete_lines_at_point') - replacement in drawing_tests.lua at line 528
check_eq(#drawing.shapes, 2, 'F - test_delete_lines_at_point/baseline/#shapes')check_eq(drawing.shapes[1].mode, 'line', 'F - test_delete_lines_at_point/baseline/shape:1')check_eq(drawing.shapes[2].mode, 'line', 'F - test_delete_lines_at_point/baseline/shape:2')check_eq(#drawing.shapes, 2, 'baseline/#shapes')check_eq(drawing.shapes[1].mode, 'line', 'baseline/shape:1')check_eq(drawing.shapes[2].mode, 'line', 'baseline/shape:2') - replacement in drawing_tests.lua at line 534
check_eq(drawing.shapes[1].mode, 'deleted', 'F - test_delete_lines_at_point/shape:1')check_eq(drawing.shapes[2].mode, 'deleted', 'F - test_delete_lines_at_point/shape:2')check_eq(drawing.shapes[1].mode, 'deleted', 'shape:1')check_eq(drawing.shapes[2].mode, 'deleted', 'shape:2') - replacement in drawing_tests.lua at line 542
check_eq(#Editor_state.lines[1].shapes, 0, 'F - test_delete_lines_at_point/save')check_eq(#Editor_state.lines[1].shapes, 0, 'save') - edit in drawing_tests.lua at line 546
io.write('\ntest_delete_line_under_mouse_pointer') - replacement in drawing_tests.lua at line 558
check_eq(#drawing.shapes, 2, 'F - test_delete_line_under_mouse_pointer/baseline/#shapes')check_eq(drawing.shapes[1].mode, 'line', 'F - test_delete_line_under_mouse_pointer/baseline/shape:1')check_eq(drawing.shapes[2].mode, 'line', 'F - test_delete_line_under_mouse_pointer/baseline/shape:2')check_eq(#drawing.shapes, 2, 'baseline/#shapes')check_eq(drawing.shapes[1].mode, 'line', 'baseline/shape:1')check_eq(drawing.shapes[2].mode, 'line', 'baseline/shape:2') - replacement in drawing_tests.lua at line 565
check_eq(drawing.shapes[1].mode, 'deleted', 'F - test_delete_line_under_mouse_pointer/shape:1')check_eq(drawing.shapes[2].mode, 'line', 'F - test_delete_line_under_mouse_pointer/shape:2')check_eq(drawing.shapes[1].mode, 'deleted', 'shape:1')check_eq(drawing.shapes[2].mode, 'line', 'shape:2') - edit in drawing_tests.lua at line 570
io.write('\ntest_delete_point_from_polygon') - replacement in drawing_tests.lua at line 589
check_eq(#drawing.shapes, 1, 'F - test_delete_point_from_polygon/baseline/#shapes')check_eq(drawing.shapes[1].mode, 'polygon', 'F - test_delete_point_from_polygon/baseline/mode')check_eq(#drawing.shapes[1].vertices, 4, 'F - test_delete_point_from_polygon/baseline/vertices')check_eq(#drawing.shapes, 1, 'baseline/#shapes')check_eq(drawing.shapes[1].mode, 'polygon', 'baseline/mode')check_eq(#drawing.shapes[1].vertices, 4, 'baseline/vertices') - replacement in drawing_tests.lua at line 596
check_eq(drawing.shapes[1].mode, 'polygon', 'F - test_delete_point_from_polygon/shape')check_eq(#drawing.shapes[1].vertices, 3, 'F - test_delete_point_from_polygon/vertices')check_eq(drawing.shapes[1].mode, 'polygon', 'shape')check_eq(#drawing.shapes[1].vertices, 3, 'vertices') - edit in drawing_tests.lua at line 601
io.write('\ntest_delete_point_from_polygon') - replacement in drawing_tests.lua at line 617
check_eq(#drawing.shapes, 1, 'F - test_delete_point_from_polygon/baseline/#shapes')check_eq(drawing.shapes[1].mode, 'polygon', 'F - test_delete_point_from_polygon/baseline/mode')check_eq(#drawing.shapes[1].vertices, 3, 'F - test_delete_point_from_polygon/baseline/vertices')check_eq(#drawing.shapes, 1, 'baseline/#shapes')check_eq(drawing.shapes[1].mode, 'polygon', 'baseline/mode')check_eq(#drawing.shapes[1].vertices, 3, 'baseline/vertices') - replacement in drawing_tests.lua at line 624
check_eq(drawing.shapes[1].mode, 'deleted', 'F - test_delete_point_from_polygon')check_eq(drawing.shapes[1].mode, 'deleted', 'check') - edit in drawing_tests.lua at line 628
io.write('\ntest_undo_name_point') - replacement in drawing_tests.lua at line 640
check_eq(#drawing.shapes, 1, 'F - test_undo_name_point/baseline/#shapes')check_eq(#drawing.points, 2, 'F - test_undo_name_point/baseline/#points')check_eq(drawing.shapes[1].mode, 'line', 'F - test_undo_name_point/baseline/shape:1')check_eq(#drawing.shapes, 1, 'baseline/#shapes')check_eq(#drawing.points, 2, 'baseline/#points')check_eq(drawing.shapes[1].mode, 'line', 'baseline/shape:1') - replacement in drawing_tests.lua at line 645
check_eq(p1.x, 5, 'F - test_undo_name_point/baseline/p1:x')check_eq(p1.y, 6, 'F - test_undo_name_point/baseline/p1:y')check_eq(p2.x, 35, 'F - test_undo_name_point/baseline/p2:x')check_eq(p2.y, 36, 'F - test_undo_name_point/baseline/p2:y')check_nil(p2.name, 'F - test_undo_name_point/baseline/p2:name')check_eq(#Editor_state.history, 1, 'F - test_undo_name_point/baseline/history:1')check_eq(p1.x, 5, 'baseline/p1:x')check_eq(p1.y, 6, 'baseline/p1:y')check_eq(p2.x, 35, 'baseline/p2:x')check_eq(p2.y, 36, 'baseline/p2:y')check_nil(p2.name, 'baseline/p2:name')check_eq(#Editor_state.history, 1, 'baseline/history:1') - replacement in drawing_tests.lua at line 656
check_eq(p2.name, 'A', 'F - test_undo_name_point/baseline')check_eq(#Editor_state.history, 3, 'F - test_undo_name_point/baseline/history:2')check_eq(Editor_state.next_history, 4, 'F - test_undo_name_point/baseline/next_history')check_eq(p2.name, 'A', 'baseline')check_eq(#Editor_state.history, 3, 'baseline/history:2')check_eq(Editor_state.next_history, 4, 'baseline/next_history') - replacement in drawing_tests.lua at line 664
check_eq(Editor_state.next_history, 3, 'F - test_undo_name_point/next_history')check_eq(p2.name, '', 'F - test_undo_name_point') -- not quite what it was before, but close enoughcheck_eq(Editor_state.next_history, 3, 'next_history')check_eq(p2.name, '', 'undo') -- not quite what it was before, but close enough - replacement in drawing_tests.lua at line 673
check_eq(p2.name, '', 'F - test_undo_name_point/save')check_eq(p2.name, '', 'save') - edit in drawing_tests.lua at line 677
io.write('\ntest_undo_move_point') - replacement in drawing_tests.lua at line 688
check_eq(#drawing.shapes, 1, 'F - test_undo_move_point/baseline/#shapes')check_eq(#drawing.points, 2, 'F - test_undo_move_point/baseline/#points')check_eq(drawing.shapes[1].mode, 'line', 'F - test_undo_move_point/baseline/shape:1')check_eq(#drawing.shapes, 1, 'baseline/#shapes')check_eq(#drawing.points, 2, 'baseline/#points')check_eq(drawing.shapes[1].mode, 'line', 'baseline/shape:1') - replacement in drawing_tests.lua at line 693
check_eq(p1.x, 5, 'F - test_undo_move_point/baseline/p1:x')check_eq(p1.y, 6, 'F - test_undo_move_point/baseline/p1:y')check_eq(p2.x, 35, 'F - test_undo_move_point/baseline/p2:x')check_eq(p2.y, 36, 'F - test_undo_move_point/baseline/p2:y')check_nil(p2.name, 'F - test_undo_move_point/baseline/p2:name')check_eq(p1.x, 5, 'baseline/p1:x')check_eq(p1.y, 6, 'baseline/p1:y')check_eq(p2.x, 35, 'baseline/p2:x')check_eq(p2.y, 36, 'baseline/p2:y')check_nil(p2.name, 'baseline/p2:name') - replacement in drawing_tests.lua at line 703
check_eq(p2.x, 26, 'F - test_undo_move_point/x')check_eq(p2.y, 44, 'F - test_undo_move_point/y')check_eq(p2.x, 26, 'x')check_eq(p2.y, 44, 'y') - replacement in drawing_tests.lua at line 707[14.8281]→[14.125688:125770](∅→∅),[14.15086]→[14.125688:125770](∅→∅),[14.35860]→[14.125688:125770](∅→∅),[14.125688]→[14.125688:125770](∅→∅)
check_eq(Editor_state.next_history, 4, 'F - test_undo_move_point/next_history')check_eq(Editor_state.next_history, 4, 'next_history') - replacement in drawing_tests.lua at line 713
check_eq(Editor_state.next_history, 2, 'F - test_undo_move_point/next_history')check_eq(p2.x, 35, 'F - test_undo_move_point/x')check_eq(p2.y, 36, 'F - test_undo_move_point/y')check_eq(Editor_state.next_history, 2, 'next_history')check_eq(p2.x, 35, 'x')check_eq(p2.y, 36, 'y') - replacement in drawing_tests.lua at line 723
check_eq(p2.x, 35, 'F - test_undo_move_point/save/x')check_eq(p2.y, 36, 'F - test_undo_move_point/save/y')check_eq(p2.x, 35, 'save/x')check_eq(p2.y, 36, 'save/y') - edit in drawing_tests.lua at line 728
io.write('\ntest_undo_delete_point') - replacement in drawing_tests.lua at line 741
check_eq(#drawing.shapes, 2, 'F - test_undo_delete_point/baseline/#shapes')check_eq(drawing.shapes[1].mode, 'line', 'F - test_undo_delete_point/baseline/shape:1')check_eq(drawing.shapes[2].mode, 'line', 'F - test_undo_delete_point/baseline/shape:2')check_eq(#drawing.shapes, 2, 'baseline/#shapes')check_eq(drawing.shapes[1].mode, 'line', 'baseline/shape:1')check_eq(drawing.shapes[2].mode, 'line', 'baseline/shape:2') - replacement in drawing_tests.lua at line 747
check_eq(drawing.shapes[1].mode, 'deleted', 'F - test_undo_delete_point/shape:1')check_eq(drawing.shapes[2].mode, 'deleted', 'F - test_undo_delete_point/shape:2')check_eq(drawing.shapes[1].mode, 'deleted', 'shape:1')check_eq(drawing.shapes[2].mode, 'deleted', 'shape:2') - replacement in drawing_tests.lua at line 753
check_eq(Editor_state.next_history, 3, 'F - test_undo_move_point/next_history')check_eq(drawing.shapes[1].mode, 'line', 'F - test_undo_delete_point/shape:1')check_eq(drawing.shapes[2].mode, 'line', 'F - test_undo_delete_point/shape:2')check_eq(Editor_state.next_history, 3, 'next_history')check_eq(drawing.shapes[1].mode, 'line', 'shape:1')check_eq(drawing.shapes[2].mode, 'line', 'shape:2') - replacement in drawing_tests.lua at line 762
check_eq(#Editor_state.lines[1].shapes, 2, 'F - test_undo_delete_point/save')check_eq(#Editor_state.lines[1].shapes, 2, 'save') - edit in app.lua at line 137
Test_errors = {} - edit in app.lua at line 139
if #Test_errors > 0 thenerror('There were test failures:\n\n'..table.concat(Test_errors))end - replacement in app.lua at line 372
_G[name]()xpcall(_G[name], function(err) prepend_debug_info_to_test_failure(name, err) end) - edit in app.lua at line 381
-- prepend file/line/testfunction prepend_debug_info_to_test_failure(test_name, err)local err_without_line_number = err:gsub('^[^:]*:[^:]*: ', '')local stack_trace = debug.traceback('', --[[stack frame]]5)local file_and_line_number = stack_trace:gsub('stack traceback:\n', ''):gsub(': .*', '')local full_error = file_and_line_number..':'..test_name..' -- '..err_without_line_numbertable.insert(Test_errors, full_error)end