Merge upstream into main
[?]
Jul 18, 2022, 4:10 AM
WST3AGMF2P5EG3XDHBEQA5N63FBSGDVGZ6CA2DV2JWTT56JXBFDQCDependencies
- [2]
7CEOB56DMerge upstream into main - [3]
ILOA5BYFseparate data structure for each line's cache data - [4]
XNFTJHC4split keyboard handling between Text and Drawing - [5]
KAUD3YIKtests: deleting points/shapes - [6]
HMODUNJEscroll on backspace - [7]
OGUV4HSAremove some memory leaks from rendered fragments - [8]
PX7DDEMOautosave slightly less aggressively - [9]
27DROQW2Merge upstream into main - [10]
OWK3U6VDtests for drawing polygons - [11]
M6TH7VSZrip out notion of Line_width - [12]
2JLVAYHBstart decoupling editor tests from App - [13]
2RXZ3PGObeginning of a new approach to scroll+wrap - [14]
IWYLK45Kclicking to the right of a line within line width - [15]
UHB4GARJleft/right margin -> left/right coordinates - [16]
SPSW74Y5add state arg to Text.keychord_pressed - [17]
QCPXQ2E3add state arg to a few functions - [18]
LF7BWEG4group all editor globals - [19]
LNUHQOGHstart passing in Editor_state explicitly - [20]
LSYLEVBDdrop some redundant args when clearing the cache - [21]
EQP53UQVautosave slightly less aggressively - [22]
PTDO2SOTadd state arg to schedule_save - [23]
AYE2VEGJextract a couple of methods - [24]
42LVB4DEtest: naming a point - [25]
7LVK4KRDfix a failing test - [26]
CNCYMM6Amake test initializations a little more obvious - [27]
OEUU62GMMerge upstream into main - [*]
LXTTOB33extract a couple of files - [*]
BULPIBEGbeginnings of a module for the text editor - [*]
K2X6G75Zstart writing some tests for drawings
Change contents
- edit in text_tests.lua at line 481[4.202]→[4.248:335](∅→∅),[4.248]→[4.248:335](∅→∅),[4.202]→[4.248:335](∅→∅),[4.1505]→[4.248:335](∅→∅),[4.3904]→[4.248:335](∅→∅),[4.248]→[4.248:335](∅→∅)
-- 0 1 2-- 123456789012345678901 - edit in text.lua at line 226
Text.clear_cache(State.lines[State.cursor1.line]) - resurrect zombie in text.lua at line 227
assert(Text.le1(State.screen_top1, State.cursor1)) - edit in drawing_tests.lua at line 341
Text.redraw_all(Editor_state) - edit in drawing_tests.lua at line 528[4.122534]→[3.9298:9330](∅→∅),[4.122534]→[3.9298:9330](∅→∅),[4.123352]→[3.9331:9363](∅→∅),[4.123352]→[3.9331:9363](∅→∅)
Text.redraw_all(Editor_state)Text.redraw_all(Editor_state)