resolve conflicts
Dependencies
- [2]
CZU7JNNAresolve conflicts - [3]
AYG2PQCGfix a couple of asserts missed in the recent audit - [4]
EAEGCJV5rename - [5]
YW2GO3U4bugfix: crash in Text.up() after return - [6]
QCPXQ2E3add state arg to a few functions - [7]
MP2TBKU6bugfix: crash in Text.up() after return - [8]
LF7BWEG4group all editor globals - [9]
7CEOB56DMerge upstream into main - [10]
27DROQW2Merge upstream into main - [*]
BULPIBEGbeginnings of a module for the text editor
Change contents
- replacement in text.lua at line 915
print(pos1, #s, s)assert(false, ('Text.offset(%d) called on a string of length %d (byte size %d); this is likely a failure to handle utf8\n\n^%s$\n'):format(pos1, utf8.len(s), #s, s)) - edit in text.lua at line 917
assert(result, "Text.offset returned nil; this is likely a failure to handle utf8") - edit in text.lua at line 920
assert(false, ('Text.offset(%d) called on a string of length %d (byte size %d); this is likely a failure to handle utf8\n\n^%s$\n'):format(pos1, utf8.len(s), #s, s))