V3EABA35RWCOOU5OMIYRWXAKZOLHO4XPGTPOKY24RR2LOAD7ZQAQC ZHLO7K3MQNI6OMK6226SSO2Z6Z4ZXF4T73VOG36DVAG6CHR6OHWAC 2LC3BM2NCIR76UILI5D4DVC5KYJSBVHDNMOC5G3TOJNCRLX6PZEQC NUZFHX6IUV2KXZOIJQTD5VIU7ELDQCFPDXYBUNQGWLKH3OMYND5QC LXTTOB33N2HCUZFIUDRQGGBVHK2HODRG4NBLH6RXRQZDCHF27BSAC ZPUQSPQPQFVRUIHGLAWW3IDBYODIWDHO62HAC3WWF5TM3CIJGHNQC BULPIBEGL7TMK6CVIE7IS7WGAHGOSUJBGJSFQK542MOWGHP2ADQQC 62PZGSUCEXJOCVWEOOENSDJITJFR27BGW7BPGFYVD3E5M6446RQQC endfunction test_skip_multiple_spaces_to_previous_word()io.write('\ntest_skip_multiple_spaces_to_previous_word')App.screen.init{width=120, height=60}Lines = load_array{'abc def'}Cursor1 = {line=1, pos=6} -- at the start of second wordMargin_right = 0; Margin_width = Margin_leftApp.draw()App.run_after_keychord('M-left')check_eq(Cursor1.pos, 1, 'F - test_skip_multiple_spaces_to_previous_word')
function test_skip_multiple_spaces_to_next_word()io.write('\ntest_skip_multiple_spaces_to_next_word')App.screen.init{width=120, height=60}Lines = load_array{'abc def'}Cursor1 = {line=1, pos=4} -- at the start of second wordMargin_right = 0; Margin_width = Margin_leftApp.draw()App.run_after_keychord('M-right')check_eq(Cursor1.pos, 9, 'F - test_skip_multiple_spaces_to_next_word')end