hoist and duplicate a conditional
[?]
Jul 31, 2023, 3:24 PM
TWXPV2AC7EK2XKGQCYJLRV6QWPGIWMOZOVPMWJXONRUTROO5QW3QCDependencies
- [2]
ZPQI5UL3bugfix: never use utf8 pos in string.sub - [3]
ZE7LVQNEimprove a comment - [4]
GZ5WULJVswitch source side to new screen-line-based render - [5]
S2QMLRXLstop creating a singleton table for every word - [6]
CQWVUCXZbugfix: syntax highlighting in source editor - [7]
6WDBV52Zmove a var closer to its use - [8]
G54H3YG2get rid of all bifold text - [9]
H4R5BHVYno more Text allocations - [10]
SDEY7LFJrename a variable - [11]
Z4XRNDTRfind text - [12]
HALS7E5Umore clearly skip prints before screen top - [13]
I64IPGJXavoid saving fragments in lines - [14]
KKMFQDR4editing source code from within the app - [15]
DHI6IJCNselecting text and deleting selections - [*]
BULPIBEGbeginnings of a module for the text editor
Change contents
- replacement in text.lua at line 34
if pos <= State.cursor1.pos and pos + frag_len >= State.cursor1.pos thenif State.search_term thenif State.search_term thenif pos <= State.cursor1.pos and pos + frag_len >= State.cursor1.pos then - replacement in text.lua at line 43
elseendelseif pos <= State.cursor1.pos and pos + frag_len >= State.cursor1.pos then - replacement in source_text.lua at line 56[3.99]→[4.1458:1539](∅→∅),[4.1458]→[4.1458:1539](∅→∅),[4.1539]→[4.88412:88448](∅→∅),[4.88412]→[4.88412:88448](∅→∅)
if pos <= State.cursor1.pos and pos + frag_len >= State.cursor1.pos thenif State.search_term thenif State.search_term thenif pos <= State.cursor1.pos and pos + frag_len >= State.cursor1.pos then - replacement in source_text.lua at line 65
elseif Focus == 'edit' thenendelseif Focus == 'edit' thenif pos <= State.cursor1.pos and pos + frag_len >= State.cursor1.pos then