resolve conflicts
Dependencies
- [2]
VLTU33KWresolve conflicts - [3]
3MJ2PYMWresolve conflicts - [4]
RSZD5A7Gforgot to add json.lua - [5]
2L5MEZV3experiment: new edit namespace - [6]
FS2ITYYHrecord a known issue - [7]
3G723RV5Merge text.love - [8]
R5QXEHUIsomebody stop me - [9]
5SM6DRHKport inscript's bugfix to source editor - [10]
X43ZIKR3Merge text.love - [11]
6VJTQKW7start supporting LÖVE v12 - [12]
TBTRYEBPMerge lines.love - [13]
N2NUGNN4include a brief reference enabling many useful apps - [14]
VHQCNMARseveral more modules - [15]
PJ5PQAQErecord support for multiple versions - [16]
CAG7PP5YMerge text.love - [17]
AVTNUQYRbasic test-enabled framework - [18]
VP5KC4XZMerge lines.love - [19]
TLOAPLBJadd a license - [20]
34BZ5ZKNMerge lines.love - [21]
6LJZN727handle chords - [22]
VXRYVZ74Merge text.love - [23]
D2GCFTTTclean up repl functionality - [24]
ED4Z6ORCcleaner API for file-system access - [25]
Z3TDYADAmouse button state in source editor - [26]
KMSL74GAsupport selections in the source editor - [27]
XX7G2FFJintermingle freehand line drawings with text - [28]
YF2ATH2QMerge lines.love - [29]
3QNOKBFMbeginnings of a test harness - [30]
4SR3Z4Y3document the version of LÖVE I've been using - [31]
ORKN6EOBMerge lines.love - [32]
VTCPDL3Aresolve conflicts - [33]
2CFLXLIEMerge text.love - [34]
ONHKBLLCMerge lines.love - [35]
BJ5X5O4Alet's prevent the text cursor from ever getting on a drawing - [36]
VXORMHMEdelete experimental REPL - [37]
TVCPXAAUrename - [38]
YY472LBUresolve conflicts - [39]
VHUNJHXBMerge lines.love - [40]
SGMA5JLEsave the list of tests in repo - [41]
2CTN2IEFMerge lines.love - [42]
K2X6G75Zstart writing some tests for drawings - [43]
73OCE2MCafter much struggle, a brute-force undo - [44]
66X36NZNa little more prose describing manual_tests - [45]
OGUV4HSAremove some memory leaks from rendered fragments - [46]
ZLJYLPOTMerge lines.love - [47]
FM5LDKGTMerge text.love - [48]
OTIBCAUJlove2d scaffold - [49]
LWPFEZBIMerge lines.love - [50]
BLWAYPKVextract a module - [51]
BULPIBEGbeginnings of a module for the text editor - [52]
T4FRZSYLdelete an ancient, unused file - [53]
JOPVPUSAediting source code from within the app - [54]
QD4LOFQRMerge text.love - [55]
REAIVN7WMerge lines.love - [56]
LXTTOB33extract a couple of files - [57]
3PSFWAILMerge lines.love - [58]
CE4LZV4Tdrop last couple of manual tests - [59]
M5JXTW56Merge text.love - [60]
C3GUE45IMerge text.love - [61]
KKMFQDR4editing source code from within the app - [62]
D2TYFYG2Merge text.love - [63]
KKQKPGCIresolve conflicts - [64]
36Z442IVback to commit 8123959e52f without code editing - [65]
RU4HIK43Merge lines.love - [66]
4YDBYBA4clean up memory leak experiments - [67]
2TQUKHBCMerge lines.love - [68]
Q6RXCILQMerge text.love
Change contents
- file deletion: source_select.lua source_select.lua
if State.mouse_down thenmaxl,maxp = Text.mouse_pos(State)elsemaxl,maxp = State.cursor1.line,State.cursor1.posendif Text.lt1({line=maxl, pos=maxp},{line=minl, pos=minp}) thenminl,maxl = maxl,minlminp,maxp = maxp,minpend-- check if intervals are disjointif line_index < minl then return nil,nil endif line_index > maxl then return nil,nil endif line_index == minl and bpos <= minp then return nil,nil endif line_index == maxl and apos >= maxp then return nil,nil end-- compare bounds more carefully (start inclusive, end exclusive)local a_ge = Text.le1({line=minl, pos=minp}, {line=line_index, pos=apos})local b_lt = Text.lt1({line=line_index, pos=bpos}, {line=maxl, pos=maxp}) - file deletion: source_edit.lua source_edit.lua
State.mouse_down = mouse_buttonState.mouse_down = nilif State.lines.current_drawing then--? print_and_log(('edit.mouse_press: cursor at %d,%d'):format(State.cursor1.line, State.cursor1.pos))