Merge text.love
[?]
Jun 8, 2023, 8:18 AM
PCEXCSOW5QISRSCMUIYJCYBFEG7WSJJ6OPSMTWKH455UV76KMUQACDependencies
- [2]
Y6QTA6LFMerge text.love - [3]
X43ZIKR3Merge text.love - [4]
3XNFQDDNMerge lines.love - [5]
4AXV2HG4all pending manual tests done! - [6]
EWJZ6XHBbetter formatting - [7]
SW7BSBMJseveral bugfixes in saving/loading cursor position - [8]
R56CKHYZMerge text.love - [9]
BJ5X5O4Alet's prevent the text cursor from ever getting on a drawing - [10]
4YDBYBA4clean up memory leak experiments - [11]
VP5KC4XZMerge lines.love - [12]
JOPVPUSAediting source code from within the app - [13]
JCXL74WVbring back everything from commit a68647ae22 - [14]
OGUV4HSAremove some memory leaks from rendered fragments - [15]
VSBSWTE4bugfix: where cursor is drawn - [16]
EX43CDDIMerge text.love - [17]
QFOQPDDWMerge lines.love - [18]
IGBTDA6YMerge text.love - [19]
KKMFQDR4editing source code from within the app - [20]
JDZVBFEIMerge lines.love - [21]
36Z442IVback to commit 8123959e52f without code editing - [22]
TVCPXAAUrename - [23]
3PSFWAILMerge lines.love - [24]
A4BSGS2CMerge lines.love - [25]
2CFLXLIEMerge text.love - [26]
K2X6G75Zstart writing some tests for drawings - [27]
U3MJNFUYMerge lines.love - [28]
R5QXEHUIsomebody stop me - [29]
VHUNJHXBMerge lines.love - [30]
HOUCPP7PMerge text.love - [31]
BLWAYPKVextract a module - [32]
SGMA5JLEsave the list of tests in repo - [33]
N2NUGNN4include a brief reference enabling many useful apps - [34]
2CTN2IEFMerge lines.love - [35]
MD3W5IRAnew fork: rip out drawing support - [36]
66X36NZNa little more prose describing manual_tests - [37]
AVTNUQYRbasic test-enabled framework - [38]
UAYCSFSKMerge text.love - [39]
VXORMHMEdelete experimental REPL - [40]
VHQCNMARseveral more modules - [41]
CE4LZV4Tdrop last couple of manual tests - [42]
2L5MEZV3experiment: new edit namespace - [43]
RSZD5A7Gforgot to add json.lua - [44]
4HR3G5ZDMerge text.love - [45]
Q6RXCILQMerge text.love - [46]
ONHKBLLCMerge lines.love - [47]
6LJZN727handle chords - [48]
73OCE2MCafter much struggle, a brute-force undo - [49]
PJ5PQAQErecord support for multiple versions - [50]
DCO5BQWVMerge lines.love - [51]
XX7G2FFJintermingle freehand line drawings with text - [52]
ZLJYLPOTMerge lines.love - [53]
ZTZOO2OQMerge lines.love - [54]
FS2ITYYHrecord a known issue - [55]
BULPIBEGbeginnings of a module for the text editor - [56]
3QNOKBFMbeginnings of a test harness - [57]
LXTTOB33extract a couple of files - [58]
KMSL74GAsupport selections in the source editor - [59]
ORKN6EOBMerge lines.love - [60]
OTIBCAUJlove2d scaffold - [61]
2344TV56Merge lines.love - [62]
D2GCFTTTclean up repl functionality - [63]
T4FRZSYLdelete an ancient, unused file - [64]
TLOAPLBJadd a license - [65]
KG7YVGVRMerge lines.love - [66]
ECBDENZ4Merge text.love - [67]
4SR3Z4Y3document the version of LÖVE I've been using - [68]
QD4LOFQRMerge text.love - [69]
K74U4BAUMerge lines.love
Change contents
- file deletion: run.lua run.lua
function absolutize(path)if is_relative_path(path) thenreturn love.filesystem.getWorkingDirectory()..'/'..path -- '/' should work even on Windowsendreturn pathendfunction run.mouse_press(x,y, mouse_button)filename=absolutize(Editor_state.filename),screen_top=Editor_state.screen_top1, cursor=Editor_state.cursor1}endif #arg > 0 and Editor_state.filename ~= absolutize(arg[1]) thenEditor_state.filename = arg[1]load_from_disk(Editor_state)Text.redraw_all(Editor_state)Editor_state.screen_top1 = {line=1, pos=1}Editor_state.cursor1 = {line=1, pos=1}elseload_from_disk(Editor_state)Text.redraw_all(Editor_state)end - edit in Manual_tests.md at line 7
- from previous session- Filename as absolute path- Filename as relative path- from defaults- run with a filename on commandline, scroll around, quit; restart without a filename; window opens running the text editor in same position+dimensions- run with a filename on commandline, scroll around, quit; restart with same filename; window opens running the text editor in same position+dimensions - resurrect zombie in Manual_tests.md at line 7
- run with a filename on commandline, scroll around, quit; restart with new filename; window opens new filename with cursor up top - edit in Manual_tests.md at line 7
- delete app settings, start with a filename; window opens with cursor at top of file- run with absolute file path; quit; restart; window opens in same position+dimensions- run with relative file path; quit; switch to new directory; restart without a filename; window opens running the same file in same position+dimensions- run with a filename on commandline, scroll around, quit; restart without a filename; window opens in same position+dimensions- run with a filename on commandline, scroll around, quit; restart with same filename; window opens in same position+dimensions - replacement in Manual_tests.md at line 13
- run editor, scroll around, move cursor to end of some line, quit; restart with new filename; window opens running the text editor in same position+dimensions- run editor, scroll around, move cursor to end of some line, quit; restart with new filename; window opens in same position+dimensions