resolve conflicts
Dependencies
- [2]
VLTU33KWresolve conflicts - [3]
6Z6WH62Wresolve conflicts - [4]
KKQKPGCIresolve conflicts - [5]
LXTTOB33extract a couple of files - [6]
D2TYFYG2Merge text.love - [7]
VXORMHMEdelete experimental REPL - [8]
BJ5X5O4Alet's prevent the text cursor from ever getting on a drawing - [9]
OTIBCAUJlove2d scaffold - [10]
M5JXTW56Merge text.love - [11]
34BZ5ZKNMerge lines.love - [12]
RU4HIK43Merge lines.love - [13]
Q6RXCILQMerge text.love - [14]
KMSL74GAsupport selections in the source editor - [15]
R5QXEHUIsomebody stop me - [16]
2CFLXLIEMerge text.love - [17]
D2GCFTTTclean up repl functionality - [18]
4YDBYBA4clean up memory leak experiments - [19]
JOPVPUSAediting source code from within the app - [20]
T4FRZSYLdelete an ancient, unused file - [21]
RSZD5A7Gforgot to add json.lua - [22]
6VJTQKW7start supporting LÖVE v12 - [23]
BLWAYPKVextract a module - [24]
73OCE2MCafter much struggle, a brute-force undo - [25]
LWPFEZBIMerge lines.love - [26]
SGMA5JLEsave the list of tests in repo - [27]
ED4Z6ORCcleaner API for file-system access - [28]
PJ5PQAQErecord support for multiple versions - [29]
66X36NZNa little more prose describing manual_tests - [30]
VHUNJHXBMerge lines.love - [31]
N2NUGNN4include a brief reference enabling many useful apps - [32]
QD4LOFQRMerge text.love - [33]
2CTN2IEFMerge lines.love - [34]
XX7G2FFJintermingle freehand line drawings with text - [35]
FS2ITYYHrecord a known issue - [36]
CAG7PP5YMerge text.love - [37]
OGUV4HSAremove some memory leaks from rendered fragments - [38]
TVCPXAAUrename - [39]
4SR3Z4Y3document the version of LÖVE I've been using - [40]
ZLJYLPOTMerge lines.love - [41]
6LJZN727handle chords - [42]
KKMFQDR4editing source code from within the app - [43]
2L5MEZV3experiment: new edit namespace - [44]
VHQCNMARseveral more modules - [45]
AVTNUQYRbasic test-enabled framework - [46]
3PSFWAILMerge lines.love - [47]
K2X6G75Zstart writing some tests for drawings - [48]
VP5KC4XZMerge lines.love - [49]
ORKN6EOBMerge lines.love - [50]
YF2ATH2QMerge lines.love - [51]
TLOAPLBJadd a license - [52]
FM5LDKGTMerge text.love - [53]
KWIVKQQ7Merge lines.love - [54]
VXRYVZ74Merge text.love - [55]
BULPIBEGbeginnings of a module for the text editor - [56]
TBTRYEBPMerge lines.love - [57]
CE4LZV4Tdrop last couple of manual tests - [58]
36Z442IVback to commit 8123959e52f without code editing - [59]
3QNOKBFMbeginnings of a test harness
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)