Merge text0
[?]
May 6, 2023, 4:15 PM
2N3HLCOVSSOTQQULZRVXUQXGTOG4RBR6ZSSCY55JTB65GEYYNOFQCDependencies
- [2]
HLIF3YQEMerge text0 - [3]
KB7KTSCPMerge lines.love - [4]
FZBXBUFFbugfix: search - [5]
CYEH4AXBa prefix for metadata in the manifest - [6]
PLKNHYZ4extract a function - [7]
MUJTM6REbring back a level of wrapping - [8]
R53OF3ONone bug I've repeatedly run into while testing with Moby Dick - [9]
LSYLEVBDdrop some redundant args when clearing the cache - [10]
HALS7E5Umore clearly skip prints before screen top - [11]
MD3W5IRAnew fork: rip out drawing support - [12]
B4FAIVRAMerge lines.love - [13]
ILOA5BYFseparate data structure for each line's cache data - [14]
4CTZOJPCstop pretending globals are local - [15]
6K5PFF6Xhelper: trimming whitespace from strings - [16]
I64IPGJXavoid saving fragments in lines - [17]
ZPQI5UL3bugfix: never use utf8 pos in string.sub - [18]
GZ2OYPSHconfigurable colors and cursor in editor widget - [19]
ZLJYLPOTMerge lines.love - [20]
TGHAJBESuse line cache for drawings as well - [21]
NQM25OZVreduce use of rfind - [*]
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]