Merge text0
[?]
May 6, 2023, 4:15 PM
2N3HLCOVSSOTQQULZRVXUQXGTOG4RBR6ZSSCY55JTB65GEYYNOFQCDependencies
- [2]
HLIF3YQEMerge text0 - [3]
KB7KTSCPMerge lines.love - [4]
ZLJYLPOTMerge lines.love - [5]
HALS7E5Umore clearly skip prints before screen top - [6]
LSYLEVBDdrop some redundant args when clearing the cache - [7]
TGHAJBESuse line cache for drawings as well - [8]
NQM25OZVreduce use of rfind - [9]
I64IPGJXavoid saving fragments in lines - [10]
B4FAIVRAMerge lines.love - [11]
MD3W5IRAnew fork: rip out drawing support - [12]
R53OF3ONone bug I've repeatedly run into while testing with Moby Dick - [13]
GZ2OYPSHconfigurable colors and cursor in editor widget - [14]
ZPQI5UL3bugfix: never use utf8 pos in string.sub - [15]
4CTZOJPCstop pretending globals are local - [16]
FZBXBUFFbugfix: search - [17]
ILOA5BYFseparate data structure for each line's cache data - [18]
MUJTM6REbring back a level of wrapping - [19]
PLKNHYZ4extract a function - [20]
6K5PFF6Xhelper: trimming whitespace from strings - [21]
CYEH4AXBa prefix for metadata in the manifest - [*]
BULPIBEGbeginnings of a module for the text editor
Change contents
- resurrect zombie in text.lua at line 41
local lo_px = Text.draw_highlight(State, line, State.left,y, pos, State.cursor1.pos, State.cursor1.pos+utf8.len(State.search_term)) - edit in text.lua at line 41
local data = State.lines[State.cursor1.line].datalocal cursor_offset = Text.offset(data, State.cursor1.pos)if data:sub(cursor_offset, cursor_offset+#State.search_term-1) == State.search_term then - edit in text.lua at line 925[4.442]→[4.59:59](∅→∅),[4.458]→[4.3:237](∅→∅),[4.458]→[4.3:237](∅→∅),[4.106]→[4.741:887](∅→∅),[4.237]→[4.741:887](∅→∅),[4.608]→[4.741:887](∅→∅),[4.106]→[4.741:887](∅→∅),[4.608]→[4.741:887](∅→∅)
local data = State.lines[State.cursor1.line].datalocal cursor_offset = Text.offset(data, State.cursor1.pos)if data:sub(cursor_offset, cursor_offset+#State.search_term-1) == State.search_term thenlocal lo_px = Text.draw_highlight(State, line, State.left,y, pos, State.cursor1.pos, State.cursor1.pos+utf8.len(State.search_term)) - resolve order conflict in text.lua at line 925[4.442]