resolve conflicts
Dependencies
- [2]
KKQKPGCIresolve conflicts - [3]
AIHGJ4BTbugfix: infinite loop inside a very narrow window - [4]
IPMYE6WTestablish a fairly fundamental invariant - [5]
TLOAPLBJadd a license - [6]
RSZD5A7Gforgot to add json.lua - [7]
ZLJYLPOTMerge lines.love - [8]
4YDBYBA4clean up memory leak experiments - [9]
OTIBCAUJlove2d scaffold - [10]
BULPIBEGbeginnings of a module for the text editor - [11]
VHUNJHXBMerge lines.love - [12]
3PSFWAILMerge lines.love - [13]
6LJZN727handle chords - [14]
3QNOKBFMbeginnings of a test harness - [15]
TVCPXAAUrename - [16]
FS2ITYYHrecord a known issue - [17]
JOPVPUSAediting source code from within the app - [18]
VXORMHMEdelete experimental REPL - [19]
KKMFQDR4editing source code from within the app - [20]
66X36NZNa little more prose describing manual_tests - [21]
UN7GKYV5support hyperlinks in the source editor - [22]
4SR3Z4Y3document the version of LÖVE I've been using - [23]
KWIVKQQ7Merge lines.love - [24]
BJ5X5O4Alet's prevent the text cursor from ever getting on a drawing - [25]
BLWAYPKVextract a module - [26]
ORKN6EOBMerge lines.love - [27]
GZ5WULJVswitch source side to new screen-line-based render - [28]
R5QXEHUIsomebody stop me - [29]
T4FRZSYLdelete an ancient, unused file - [30]
73OCE2MCafter much struggle, a brute-force undo - [31]
OGUV4HSAremove some memory leaks from rendered fragments - [32]
2CTN2IEFMerge lines.love - [33]
KMSL74GAsupport selections in the source editor - [34]
N2NUGNN4include a brief reference enabling many useful apps - [35]
CE4LZV4Tdrop last couple of manual tests - [36]
SGMA5JLEsave the list of tests in repo - [37]
RU4HIK43Merge lines.love - [38]
34BZ5ZKNMerge lines.love - [39]
6VJTQKW7start supporting LÖVE v12 - [40]
D2GCFTTTclean up repl functionality - [41]
YF2ATH2QMerge lines.love - [42]
AVTNUQYRbasic test-enabled framework - [43]
LXTTOB33extract a couple of files - [44]
2L5MEZV3experiment: new edit namespace - [45]
XX7G2FFJintermingle freehand line drawings with text - [46]
ED4Z6ORCcleaner API for file-system access - [47]
VHQCNMARseveral more modules - [48]
K2X6G75Zstart writing some tests for drawings - [49]
VP5KC4XZMerge lines.love - [50]
TBTRYEBPMerge lines.love - [51]
LWPFEZBIMerge lines.love
Change contents
- file deletion: source_text.lua source_text.lua
if x == 0 and bpos == 0 thenassert(false, ("Infinite loop while line-wrapping. Editor is %dpx wide; window is %dpx wide"):format(State.width, App.screen.width))end-- Perform some early sanity checking here, in hopes that we correctly call-- this whenever we change editor state.if State.right <= State.left thenassert(false, ('Right margin %d must be to the right of the left margin %d'):format(State.right, State.left))endState.line_cache = {}for i=1,#State.lines doState.line_cache[i] = {}endpos = pos + bposlocal boffset = Text.offset(frag, bpos+1) -- byte _after_ bposfrag = string.sub(frag, boffset)--? if bpos > 0 then--? print('after chop:', frag)--? endfrag_width = App.width(frag)end--? print('screen line:', pos) - replacement in source_text.lua at line 131
-- everything works if bpos == 0, but is a little inefficientif x == 0 and bpos == 0 thenassert(false, ("Infinite loop while line-wrapping. Editor is %dpx wide; window is %dpx wide"):format(State.width, App.screen.width))end - edit in source_text.lua at line 1040
-- Perform some early sanity checking here, in hopes that we correctly call-- this whenever we change editor state.if State.right <= State.left thenassert(false, ('Right margin %d must be to the right of the left margin %d'):format(State.right, State.left))end