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