Merge lines.love
[?]
Mar 19, 2023, 6:52 PM
Q7XPSKIIMSL2TU5GO6XX66VYWDTEQOIPA37ETUVOHCBMX5HI3EZQCDependencies
- [2]
2TQUKHBCMerge lines.love - [3]
TUN6TDO4give a test a unique name - [4]
MD3W5IRAnew fork: rip out drawing support - [5]
3PSFWAILMerge lines.love - [6]
FS2ITYYHrecord a known issue - [7]
LXTTOB33extract a couple of files - [8]
OTIBCAUJlove2d scaffold - [9]
JOPVPUSAediting source code from within the app - [10]
KMSL74GAsupport selections in the source editor - [11]
ETXNVRPTMerge lines.love - [12]
KOTNETIMrepeat changes on source editor - [13]
ZTZOO2OQMerge lines.love - [14]
VXORMHMEdelete experimental REPL - [15]
ORRSP7FVdeduce test names on failures - [16]
4SR3Z4Y3document the version of LÖVE I've been using - [17]
R5QXEHUIsomebody stop me - [18]
XX7G2FFJintermingle freehand line drawings with text - [19]
T4FRZSYLdelete an ancient, unused file - [20]
TVCPXAAUrename - [21]
OGUV4HSAremove some memory leaks from rendered fragments - [22]
KKMFQDR4editing source code from within the app - [23]
3QNOKBFMbeginnings of a test harness - [24]
BLWAYPKVextract a module - [25]
66X36NZNa little more prose describing manual_tests - [26]
CE4LZV4Tdrop last couple of manual tests - [27]
VHQCNMARseveral more modules - [28]
D2GCFTTTclean up repl functionality - [29]
RSZD5A7Gforgot to add json.lua - [30]
K2X6G75Zstart writing some tests for drawings - [31]
A4BSGS2CMerge lines.love - [32]
GUOQRUL7Merge lines.love - [33]
2CTN2IEFMerge lines.love - [34]
73OCE2MCafter much struggle, a brute-force undo - [35]
TLOAPLBJadd a license - [36]
BULPIBEGbeginnings of a module for the text editor - [37]
AVTNUQYRbasic test-enabled framework - [38]
ORKN6EOBMerge lines.love - [39]
VP5KC4XZMerge lines.love - [40]
2L5MEZV3experiment: new edit namespace - [41]
6LJZN727handle chords - [42]
VHUNJHXBMerge lines.love - [43]
K74U4BAUMerge lines.love - [44]
BJ5X5O4Alet's prevent the text cursor from ever getting on a drawing - [45]
4YDBYBA4clean up memory leak experiments - [46]
JKENJ2UGMerge lines.love
Change contents
- file deletion: source_text_tests.lua source_text_tests.lua
function test_click_past_end_of_screen_line()-- display a wrapping lineApp.screen.init{width=75, height=80}Editor_state = edit.initialize_test_state()-- 12345678901234Editor_state.lines = load_array{"madam I'm adam"}Text.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)local y = Editor_state.top-- display two screen lines with cursor on one of themApp.screen.init{width=100, height=80}Editor_state = edit.initialize_test_state()Editor_state.left = 50 -- occupy only right side of screenEditor_state.lines = load_array{'abc def ghi jkl mno pqr stu'}Text.redraw_all(Editor_state)Editor_state.cursor1 = {line=1, pos=20}Editor_state.screen_top1 = {line=1, pos=1}Editor_state.screen_bottom1 = {}-- click on the other lineedit.draw(Editor_state)edit.run_after_mouse_click(Editor_state, Editor_state.left+8,Editor_state.top+5, 1)-- cursor moves-- display two screen lines with cursor on one of themApp.screen.init{width=50, height=80}Editor_state = edit.initialize_test_state()Editor_state.lines = load_array{'abc def ghi jkl mno pqr stu'}Text.redraw_all(Editor_state)Editor_state.cursor1 = {line=1, pos=20}Editor_state.screen_top1 = {line=1, pos=1}Editor_state.screen_bottom1 = {}-- click on the other lineedit.draw(Editor_state)edit.run_after_mouse_click(Editor_state, Editor_state.left+8,Editor_state.top+5, 1)-- cursor moves - replacement in source_text_tests.lua at line 372
-- display two lines with cursor on one of them-- display two screen lines with cursor on one of them - replacement in source_text_tests.lua at line 390
-- display two lines with cursor on one of them-- display two screen lines with cursor on one of them - replacement in source_text_tests.lua at line 444
function test_click_on_wrapping_line()function test_click_past_end_of_screen_line()