Merge upstream into main
[?]
Jun 29, 2022, 4:34 PM
PNGWLAFNM2OM2ZEYNS64WBVG5ZMWYY5JSDV6JIUZAEK4WDR4JJQQCDependencies
- [2]
27DROQW2Merge upstream into main - [3]
IWYLK45Kclicking to the right of a line within line width - [4]
DRFE3B3Zmouse buttons are integers, not strings - [5]
FYS7TCDWbugfix - [6]
4VKEE43Zbugfix - [7]
EMHRPJ3Rno, that's not right - [8]
CZB4CK2Rbugfix - [*]
LXTTOB33extract a couple of files
Change contents
- edit in text_tests.lua at line 238
end - resurrect zombie in text_tests.lua at line 238
function test_click_past_end_of_word_wrapping_line()io.write('\ntest_click_past_end_of_word_wrapping_line')-- display a long line wrapping at a word boundary on a screen of more realistic lengthApp.screen.init{width=200, height=80}-- 0 1 2-- 123456789012345678901Lines = load_array{'the quick brown fox jumped over the lazy dog'}Line_width = 160Cursor1 = {line=1, pos=1}Screen_top1 = {line=1, pos=1}Screen_bottom1 = {}App.draw()local y = Margin_topApp.screen.check(y, 'the quick brown fox ', 'F - test_click_past_end_of_word_wrapping_line/baseline/screen:1')y = y + Line_height-- click past the end of the screen line but within Line_widthApp.draw()App.run_after_mouse_click(Line_width-2,y-2, 1)-- cursor moves to end of screen linecheck_eq(Cursor1.pos, 20, 'F - test_click_past_end_of_word_wrapping_line/cursor') - resolve order conflict in text_tests.lua at line 238
- edit in text_tests.lua at line 258
end