this fixes the immediate regression
[?]
Jun 10, 2022, 9:52 PM
KZ5GAYRPWF2BA5VEIW3A4G2TULATBL7YEDGFJU42GBP5DET7BI3ACDependencies
- [2]
GCEF4N3Vstop repeatedly checking for line wrapping - [3]
R53OF3ONone bug I've repeatedly run into while testing with Moby Dick - [4]
HOSPP2ANcrisp font rendering - [5]
ZPUQSPQPextract a few methods - [6]
GN3IF4WFbugfix: pasting newlines - [7]
YPHKZVWMextract a new variable - [8]
CVSRHMJ2experiment: slightly adaptive scrolling - [9]
2RXZ3PGObeginning of a new approach to scroll+wrap - [10]
PESSMQBJno, make sure to compute line width after screen dimensions - [11]
OGUV4HSAremove some memory leaks from rendered fragments - [12]
KOYAJWE4extract a couple more methods - [13]
ESETRNLBbugfix: printing the first part of a line at the bottom made it seem non-wrapping - [14]
P66MRF3Ubugfix: don't append metadata when it already exists - [15]
YLKLDF4R. - [16]
3OKKTUT4up and down arrow now moving by screen line where possible - [17]
AYE2VEGJextract a couple of methods - [*]
BULPIBEGbeginnings of a module for the text editor
Change contents
- replacement in text.lua at line 391
print('pageup')--? print('pageup') - replacement in text.lua at line 397
--? print(y, top2.line)--? print(y, top2.line, top2.screen_line, top2.screen_pos) - replacement in text.lua at line 411
print('pageup end')--? print('pageup end') - replacement in text.lua at line 415
print('pagedown')--? print('pagedown') - replacement in text.lua at line 436
print('pagedown end')--? print('pagedown end') - replacement in text.lua at line 813[3.1588]→[3.7866:8031](∅→∅),[3.7866]→[3.7866:8031](∅→∅),[3.8031]→[3.1205:1236](∅→∅),[3.1236]→[3.8065:8096](∅→∅),[3.8065]→[3.8065:8096](∅→∅),[3.8096]→[3.1237:1285](∅→∅),[3.1285]→[3.8129:8153](∅→∅),[3.8129]→[3.8129:8153](∅→∅)
result.screen_pos = pos1.poselsefor i=#Lines[pos1.line].screen_line_starting_pos,1,-1 dolocal spos = Lines[pos1.line].screen_line_starting_pos[i]if spos <= pos1.pos thenresult.screen_line = iresult.screen_pos = pos1.pos - spos + 1breakendText.populate_screen_line_starting_pos(pos1.line)endfor i=#Lines[pos1.line].screen_line_starting_pos,1,-1 dolocal spos = Lines[pos1.line].screen_line_starting_pos[i]if spos <= pos1.pos thenresult.screen_line = iresult.screen_pos = pos1.pos - spos + 1break - replacement in text.lua at line 869
return {line=pos2.line-1, screen_line=1, screen_pos=1}elsereturn {line=pos2.line-1, screen_line=#Lines[pos2.line-1].screen_line_starting_pos, screen_pos=1}Text.populate_screen_line_starting_pos(pos2.line-1) - edit in text.lua at line 871
return {line=pos2.line-1, screen_line=#Lines[pos2.line-1].screen_line_starting_pos, screen_pos=1} - replacement in text.lua at line 876
--? print('Text.populate_screen_line_starting_pos')--? print('Text.populate_screen_line_starting_pos', line_index) - replacement in text.lua at line 905
print('clearing fragments')--? print('clearing fragments')