Merge lines.love
[?]
Sep 17, 2022, 11:42 PM
UI3IP45FD2XZ3HFSZSPH5HBD5DT6CHHUR77FTKIIN3M43OQ3Y6EQCDependencies
- [2]
AYX33NBCMerge lines.love - [3]
MLXDXFO6isolate some tests from settings - [4]
2CTN2IEFMerge lines.love - [5]
3PSFWAILMerge lines.love - [6]
66X36NZNa little more prose describing manual_tests - [7]
TLOAPLBJadd a license - [8]
VHUNJHXBMerge lines.love - [9]
JMUD7T3Oget rid of ugly side-effects in tests - [10]
CE4LZV4Tdrop last couple of manual tests - [11]
OTIBCAUJlove2d scaffold - [12]
D2GCFTTTclean up repl functionality - [13]
VXORMHMEdelete experimental REPL - [14]
OGUV4HSAremove some memory leaks from rendered fragments - [15]
JOPVPUSAediting source code from within the app - [16]
3QNOKBFMbeginnings of a test harness - [17]
GUOQRUL7Merge lines.love - [18]
2L5MEZV3experiment: new edit namespace - [19]
T4FRZSYLdelete an ancient, unused file - [20]
VHQCNMARseveral more modules - [21]
AVTNUQYRbasic test-enabled framework - [22]
R5QXEHUIsomebody stop me - [23]
BLWAYPKVextract a module - [24]
LXTTOB33extract a couple of files - [25]
MD3W5IRAnew fork: rip out drawing support - [26]
KKMFQDR4editing source code from within the app - [27]
4YDBYBA4clean up memory leak experiments - [28]
6LJZN727handle chords - [29]
C3NYQP57Merge lines.love - [30]
K2X6G75Zstart writing some tests for drawings - [31]
32V6ZHQBMerge lines.love - [32]
FS2ITYYHrecord a known issue - [33]
XX7G2FFJintermingle freehand line drawings with text - [34]
RSZD5A7Gforgot to add json.lua - [35]
D4B52CQ2Merge lines.love - [36]
KMSL74GAsupport selections in the source editor - [37]
TVCPXAAUrename - [38]
BULPIBEGbeginnings of a module for the text editor - [39]
BJ5X5O4Alet's prevent the text cursor from ever getting on a drawing - [40]
73OCE2MCafter much struggle, a brute-force undo
Change contents
- file deletion: source.lua source.lua
if not App.run_tests thensource.set_window_position_from_settings(Settings.source)endreturnendif chord == 'C-g' thenShow_file_navigator = trueFile_navigation.index = 1returnendif Focus == 'edit' thenreturn edit.keychord_pressed(Editor_state, chord, key)elsereturn log_browser.keychord_pressed(Log_browser_state, chord, key)endendfunction source.key_released(key, scancode)Cursor_time = 0 -- ensure cursor is visible immediately after it movesif Focus == 'edit' thenreturn edit.key_released(Editor_state, key, scancode)elsereturn log_browser.keychord_pressed(Log_browser_state, chordkey, scancode)endend-- use this sparinglyfunction to_text(s)if Text_cache[s] == nil thenText_cache[s] = App.newText(love.graphics.getFont(), s)endreturn Text_cache[s]end - replacement in source.lua at line 337
source.set_window_position_from_settings(Settings.source)if not App.run_tests thensource.set_window_position_from_settings(Settings.source)end