Merge lines.love
[?]
May 14, 2023, 12:29 AM
RAXUQQ6ZTTH4WCEDDLVXJSZ4E2W6NBEGTANCBDK57YO6ASCEI2CQCDependencies
- [2]
KWIVKQQ7Merge lines.love - [3]
2H76FV5Sbugfix: searching files containing unicode - [4]
4YDBYBA4clean up memory leak experiments - [5]
EETIR4GXbugfix: skip over drawings when searching - [6]
2L5MEZV3experiment: new edit namespace - [7]
AVTNUQYRbasic test-enabled framework - [8]
JOPVPUSAediting source code from within the app - [9]
4SR3Z4Y3document the version of LÖVE I've been using - [10]
2JBAEQHUMerge lines.love - [11]
VHQCNMARseveral more modules - [12]
BLWAYPKVextract a module - [13]
KMSL74GAsupport selections in the source editor - [14]
2CK5QI7Wmake love event names consistent - [15]
2CTN2IEFMerge lines.love - [16]
VXORMHMEdelete experimental REPL - [17]
TLOAPLBJadd a license - [18]
XX7G2FFJintermingle freehand line drawings with text - [19]
ORKN6EOBMerge lines.love - [20]
LXTTOB33extract a couple of files - [21]
ZTZOO2OQMerge lines.love - [22]
ZLJYLPOTMerge lines.love - [23]
TVCPXAAUrename - [24]
3PSFWAILMerge lines.love - [25]
VP5KC4XZMerge lines.love - [26]
CE4LZV4Tdrop last couple of manual tests - [27]
K2X6G75Zstart writing some tests for drawings - [28]
FS2ITYYHrecord a known issue - [29]
ORRSP7FVdeduce test names on failures - [30]
D2GCFTTTclean up repl functionality - [31]
T4FRZSYLdelete an ancient, unused file - [32]
FZBXBUFFbugfix: search - [33]
K74U4BAUMerge lines.love - [34]
N2NUGNN4include a brief reference enabling many useful apps - [35]
6LJZN727handle chords - [36]
MD3W5IRAnew fork: rip out drawing support - [37]
BULPIBEGbeginnings of a module for the text editor - [38]
BJ5X5O4Alet's prevent the text cursor from ever getting on a drawing - [39]
73OCE2MCafter much struggle, a brute-force undo - [40]
OGUV4HSAremove some memory leaks from rendered fragments - [41]
VHUNJHXBMerge lines.love - [42]
A4BSGS2CMerge lines.love - [43]
3QNOKBFMbeginnings of a test harness - [44]
RSZD5A7Gforgot to add json.lua - [45]
KKMFQDR4editing source code from within the app - [46]
R5QXEHUIsomebody stop me - [47]
OI4FPFINsupport drawings in the source editor - [48]
KB7KTSCPMerge lines.love - [49]
OTIBCAUJlove2d scaffold - [50]
66X36NZNa little more prose describing manual_tests - [51]
JZR3QMTNMerge lines.love
Change contents
- file deletion: source_text_tests.lua source_text_tests.lua
check_eq(Editor_state.cursor1.pos, 6, '1/cursor:pos')endEditor_state.lines = load_array{'abc ’abd'} -- contains unicode quoteText.redraw_all(Editor_state)Editor_state.cursor1 = {line=1, pos=1}Editor_state.screen_top1 = {line=1, pos=1}Editor_state.screen_bottom1 = {}edit.draw(Editor_state)-- search upwards for a stringedit.run_after_keychord(Editor_state, 'C-f')check_eq(Editor_state.cursor1.pos, 2, '1/cursor:pos')endfunction test_search_wrap_upwards()Editor_state.cursor1 = {line=2, pos=1}Editor_state.screen_top1 = {line=1, pos=1}Editor_state.screen_bottom1 = {}edit.draw(Editor_state)-- search for a stringedit.run_after_keychord(Editor_state, 'C-f')Editor_state.lines = load_array{'’abc', 'def'} -- contains unicode quote in first lineText.redraw_all(Editor_state)check_eq(Editor_state.cursor1.pos, 2, '2/cursor:pos')endfunction test_search_wrap()Editor_state.cursor1 = {line=2, pos=1}Editor_state.screen_top1 = {line=1, pos=1}Editor_state.screen_bottom1 = {}edit.draw(Editor_state)-- search for a stringedit.run_after_keychord(Editor_state, 'C-f')Editor_state.lines = load_array{'’abc', 'abd'} -- contains unicode quoteText.redraw_all(Editor_state)check_eq(Editor_state.cursor1.pos, 2, '2/cursor:pos')endfunction test_search_upwards()Editor_state.lines = load_array{'```lines', '```', 'def', 'ghi', '’deg'} -- contains unicode quote in final lineText.redraw_all(Editor_state)Editor_state.cursor1 = {line=1, pos=1}Editor_state.screen_top1 = {line=1, pos=1}Editor_state.screen_bottom1 = {}edit.draw(Editor_state)-- search for a stringedit.run_after_keychord(Editor_state, 'C-f') - replacement in text_tests.lua at line 1861
Editor_state.lines = load_array{'abc', 'def', 'ghi', 'deg'}Editor_state.lines = load_array{'```lines', '```', 'def', 'ghi', '’deg'} -- contains unicode quote in final lineEditor_state.lines = load_array{'abc', 'def', 'ghi', '’deg'} -- contains unicode quote in final line - replacement in source_text_tests.lua at line 1958
Editor_state.lines = load_array{'```lines', '```', 'def', 'ghi', 'deg'}Editor_state.lines = load_array{'```lines', '```', 'def', 'ghi', '’deg'} -- contains unicode quote in final line - replacement in source_text_tests.lua at line 1979
check_eq(Editor_state.cursor1.pos, 1, '2/cursor:pos')check_eq(Editor_state.cursor1.pos, 2, '2/cursor:pos') - replacement in source_text_tests.lua at line 1985
Editor_state.lines = load_array{'abc abd'}Editor_state.lines = load_array{'’abc', 'abd'} -- contains unicode quote - replacement in source_text_tests.lua at line 1987
Editor_state.cursor1 = {line=1, pos=2}Editor_state.cursor1 = {line=2, pos=1} - replacement in source_text_tests.lua at line 1997
check_eq(Editor_state.cursor1.pos, 1, '2/cursor:pos')check_eq(Editor_state.cursor1.pos, 2, '2/cursor:pos') - replacement in source_text_tests.lua at line 2003
Editor_state.lines = load_array{'abc'}Editor_state.lines = load_array{'’abc', 'def'} -- contains unicode quote in first line - replacement in source_text_tests.lua at line 2005
Editor_state.cursor1 = {line=1, pos=3}Editor_state.cursor1 = {line=2, pos=1} - replacement in source_text_tests.lua at line 2015
check_eq(Editor_state.cursor1.pos, 1, '1/cursor:pos')check_eq(Editor_state.cursor1.pos, 2, '1/cursor:pos') - replacement in source_text_tests.lua at line 2021
Editor_state.lines = load_array{'abc abd'}Editor_state.lines = load_array{'abc ’abd'} -- contains unicode quote - replacement in source_text_tests.lua at line 2033
check_eq(Editor_state.cursor1.pos, 5, '1/cursor:pos')check_eq(Editor_state.cursor1.pos, 6, '1/cursor:pos')