Merge text.love
[?]
Mar 19, 2023, 6:54 PM
OWPI7Y4QKI2U6QYUAYEGXOUOUZPT4YCST66T2WZWM6MGLPDZUWXACDependencies
- [2]
3G723RV5Merge text.love - [3]
Q7XPSKIIMerge lines.love - [4]
6LJZN727handle chords - [5]
VXORMHMEdelete experimental REPL - [6]
OTIBCAUJlove2d scaffold - [7]
C3GUE45IMerge text.love - [8]
D2GCFTTTclean up repl functionality - [9]
BJ5X5O4Alet's prevent the text cursor from ever getting on a drawing - [10]
VHQCNMARseveral more modules - [11]
OGUV4HSAremove some memory leaks from rendered fragments - [12]
KKMFQDR4editing source code from within the app - [13]
VP5KC4XZMerge lines.love - [14]
EX43CDDIMerge text.love - [15]
LXTTOB33extract a couple of files - [16]
A4BSGS2CMerge lines.love - [17]
4SR3Z4Y3document the version of LÖVE I've been using - [18]
AVTNUQYRbasic test-enabled framework - [19]
MD3W5IRAnew fork: rip out drawing support - [20]
2CTN2IEFMerge lines.love - [21]
36Z442IVback to commit 8123959e52f without code editing - [22]
3PSFWAILMerge lines.love - [23]
ZTZOO2OQMerge lines.love - [24]
R5QXEHUIsomebody stop me - [25]
ORKN6EOBMerge lines.love - [26]
ECBDENZ4Merge text.love - [27]
K74U4BAUMerge lines.love - [28]
66X36NZNa little more prose describing manual_tests - [29]
RSZD5A7Gforgot to add json.lua - [30]
4YDBYBA4clean up memory leak experiments - [31]
2TQUKHBCMerge lines.love - [32]
GUOQRUL7Merge lines.love - [33]
XX7G2FFJintermingle freehand line drawings with text - [34]
3QNOKBFMbeginnings of a test harness - [35]
T4FRZSYLdelete an ancient, unused file - [36]
K2X6G75Zstart writing some tests for drawings - [37]
CE4LZV4Tdrop last couple of manual tests - [38]
2L5MEZV3experiment: new edit namespace - [39]
KMSL74GAsupport selections in the source editor - [40]
JKENJ2UGMerge lines.love - [41]
73OCE2MCafter much struggle, a brute-force undo - [42]
VHUNJHXBMerge lines.love - [43]
UAYCSFSKMerge text.love - [44]
TLOAPLBJadd a license - [45]
QF3HGULOMerge text.love - [46]
BLWAYPKVextract a module - [47]
FS2ITYYHrecord a known issue - [48]
BULPIBEGbeginnings of a module for the text editor - [49]
TVCPXAAUrename - [50]
JOPVPUSAediting source code from within the app - [51]
ETXNVRPTMerge 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