Merge lines.love
[?]
May 6, 2023, 4:09 PM
KB7KTSCPTMQ4MDDP6BJSAZZBHCINAO762XY6GJPFLMIW6BPOEHLACDependencies
- [2]
MXSAHZN4Merge lines.love - [3]
ZPQI5UL3bugfix: never use utf8 pos in string.sub - [4]
ZLJYLPOTMerge lines.love - [5]
66X36NZNa little more prose describing manual_tests - [6]
JZR3QMTNMerge lines.love - [7]
OTIBCAUJlove2d scaffold - [8]
OGUV4HSAremove some memory leaks from rendered fragments - [9]
N2NUGNN4include a brief reference enabling many useful apps - [10]
ORKN6EOBMerge lines.love - [11]
KWIVKQQ7Merge lines.love - [12]
HALS7E5Umore clearly skip prints before screen top - [13]
4SR3Z4Y3document the version of LÖVE I've been using - [14]
K2X6G75Zstart writing some tests for drawings - [15]
R5QXEHUIsomebody stop me - [16]
BJ5X5O4Alet's prevent the text cursor from ever getting on a drawing - [17]
AVTNUQYRbasic test-enabled framework - [18]
2L5MEZV3experiment: new edit namespace - [19]
JOPVPUSAediting source code from within the app - [20]
6LJZN727handle chords - [21]
4YDBYBA4clean up memory leak experiments - [22]
RSZD5A7Gforgot to add json.lua - [23]
LXTTOB33extract a couple of files - [24]
TLOAPLBJadd a license - [25]
T4FRZSYLdelete an ancient, unused file - [26]
BLWAYPKVextract a module - [27]
MD3W5IRAnew fork: rip out drawing support - [28]
KKMFQDR4editing source code from within the app - [29]
FS2ITYYHrecord a known issue - [30]
TVCPXAAUrename - [31]
2CTN2IEFMerge lines.love - [32]
VXORMHMEdelete experimental REPL - [33]
3QNOKBFMbeginnings of a test harness - [34]
VHUNJHXBMerge lines.love - [35]
VP5KC4XZMerge lines.love - [36]
ZTZOO2OQMerge lines.love - [37]
MUJTM6REbring back a level of wrapping - [38]
3PSFWAILMerge lines.love - [39]
A4BSGS2CMerge lines.love - [40]
K74U4BAUMerge lines.love - [41]
I64IPGJXavoid saving fragments in lines - [42]
GZ5WULJVswitch source side to new screen-line-based render - [43]
2JBAEQHUMerge lines.love - [44]
XX7G2FFJintermingle freehand line drawings with text - [45]
D2GCFTTTclean up repl functionality - [46]
BULPIBEGbeginnings of a module for the text editor - [47]
VHQCNMARseveral more modules - [48]
KMSL74GAsupport selections in the source editor - [49]
FZBXBUFFbugfix: search - [50]
73OCE2MCafter much struggle, a brute-force undo - [51]
CE4LZV4Tdrop last couple of manual tests
Change contents
- file deletion: source_text.lua source_text.lua
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)) - edit in text.lua at line 36
if State.lines[State.cursor1.line].data:sub(State.cursor1.pos, State.cursor1.pos+utf8.len(State.search_term)-1) == State.search_term then - resurrect zombie in text.lua at line 39
local lo_px = Text.draw_highlight(State, line, State.left,y, pos, State.cursor1.pos, State.cursor1.pos+utf8.len(State.search_term)) - replacement in source_text.lua at line 58
if State.lines[State.cursor1.line].data:sub(State.cursor1.pos, State.cursor1.pos+utf8.len(State.search_term)-1) == State.search_term thenlocal 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