Merge text.love
[?]
Dec 13, 2022, 6:54 AM
O3GEN2SD4VMVHHVQPK6PXQTRESMJI2OQBGSIQVL43GNBU5DB46FACDependencies
- [2]
KRDNIVZOMerge text.love - [3]
UYCVUHI5Merge lines.love - [4]
XX7G2FFJintermingle freehand line drawings with text - [5]
R5QXEHUIsomebody stop me - [6]
4YDBYBA4clean up memory leak experiments - [7]
2L5MEZV3experiment: new edit namespace - [8]
VHQCNMARseveral more modules - [9]
VO2ZVTWKMerge lines.love - [10]
RXNR3U5EMerge text.love - [11]
AT3LVCMPMerge text.love - [12]
ETXNVRPTMerge lines.love - [13]
36Z442IVback to commit 8123959e52f without code editing - [14]
FS2ITYYHrecord a known issue - [15]
KKMFQDR4editing source code from within the app - [16]
2CTN2IEFMerge lines.love - [17]
VBU5YHLRMerge lines.love - [18]
BLWAYPKVextract a module - [19]
6LJZN727handle chords - [20]
RSZD5A7Gforgot to add json.lua - [21]
VHUNJHXBMerge lines.love - [22]
EG5CRNWCMerge lines.love - [23]
66X36NZNa little more prose describing manual_tests - [24]
TFM6F5ODMerge lines.love - [25]
BULPIBEGbeginnings of a module for the text editor - [26]
3PSFWAILMerge lines.love - [27]
K2X6G75Zstart writing some tests for drawings - [28]
6BGU2SBJMerge text.love - [29]
VXORMHMEdelete experimental REPL - [30]
BJ5X5O4Alet's prevent the text cursor from ever getting on a drawing - [31]
MD3W5IRAnew fork: rip out drawing support - [32]
JOPVPUSAediting source code from within the app - [33]
32V6ZHQBMerge lines.love - [34]
VP5KC4XZMerge lines.love - [35]
TLOAPLBJadd a license - [36]
OTIBCAUJlove2d scaffold - [37]
3QNOKBFMbeginnings of a test harness - [38]
D2GCFTTTclean up repl functionality - [39]
T4FRZSYLdelete an ancient, unused file - [40]
AVTNUQYRbasic test-enabled framework - [41]
LXTTOB33extract a couple of files - [42]
CE4LZV4Tdrop last couple of manual tests - [43]
GUOQRUL7Merge lines.love - [44]
TVCPXAAUrename - [45]
D4B52CQ2Merge lines.love - [46]
NMRUNROTMerge lines.love - [47]
SHUFMMIVMerge text.love - [48]
KMSL74GAsupport selections in the source editor - [49]
73OCE2MCafter much struggle, a brute-force undo - [50]
OGUV4HSAremove some memory leaks from rendered fragments
Change contents
- file deletion: source_edit.lua source_edit.lua
edit.update(State, 0)edit.draw(State)endedit.update(State, 0)edit.draw(State)endfunction edit.run_after_mouse_release(State, x,y, mouse_button)App.fake_mouse_release(x,y, mouse_button)edit.mouse_released(State, x,y, mouse_button)App.screen.contents = {}edit.update(State, 0)edit.draw(State)endfunction edit.run_after_mouse_press(State, x,y, mouse_button)App.fake_mouse_press(x,y, mouse_button)edit.mouse_pressed(State, x,y, mouse_button)App.screen.contents = {}edit.update(State, 0)edit.draw(State)endfunction edit.run_after_mouse_click(State, x,y, mouse_button)App.fake_mouse_press(x,y, mouse_button)edit.mouse_pressed(State, x,y, mouse_button)App.fake_mouse_release(x,y, mouse_button)edit.mouse_released(State, x,y, mouse_button)App.screen.contents = {}edit.update(State, 0)edit.draw(State)end-- not all keys are textinputfunction edit.run_after_keychord(State, chord)edit.keychord_pressed(State, chord)edit.key_released(State, chord)App.screen.contents = {}for _,line_cache in ipairs(State.line_cache) do line_cache.starty = nil end -- just in case we scrollText.textinput(State, t)endschedule_save(State)endfunction edit.keychord_pressed(State, chord, key)