Merge text.love
[?]
Sep 15, 2023, 5:45 AM
RIAFJLMZD4DCRT5J3YIRP4OTNZJTQR4Q7VWKYHDZY65MIFQ5RF3QCDependencies
- [2]
UGXRAL54Merge text.love - [3]
JCRUUD2SMerge text.love - [4]
GQBMVYD4Merge text.love - [5]
MGJZHZC4Merge lines.love - [6]
VHQCNMARseveral more modules - [7]
FS2ITYYHrecord a known issue - [8]
LXTTOB33extract a couple of files - [9]
RU4HIK43Merge lines.love - [10]
6LJZN727handle chords - [11]
RSZD5A7Gforgot to add json.lua - [12]
SGMA5JLEsave the list of tests in repo - [13]
REAIVN7WMerge lines.love - [14]
FM5LDKGTMerge text.love - [15]
2L5MEZV3experiment: new edit namespace - [16]
VXRYVZ74Merge text.love - [17]
2TQUKHBCMerge lines.love - [18]
X43ZIKR3Merge text.love - [19]
2344TV56Merge lines.love - [20]
4YDBYBA4clean up memory leak experiments - [21]
RO35V4H4Merge text.love - [22]
CE4LZV4Tdrop last couple of manual tests - [23]
IGBTDA6YMerge text.love - [24]
YDUIKWSFMerge text.love - [25]
73OCE2MCafter much struggle, a brute-force undo - [26]
JRETETTLMerge lines.love - [27]
N2NUGNN4include a brief reference enabling many useful apps - [28]
B6DS4GZCMerge lines.love - [29]
BULPIBEGbeginnings of a module for the text editor - [30]
AVTNUQYRbasic test-enabled framework - [31]
Q6RXCILQMerge text.love - [32]
66X36NZNa little more prose describing manual_tests - [33]
KWIVKQQ7Merge lines.love - [34]
PJ5PQAQErecord support for multiple versions - [35]
VHUNJHXBMerge lines.love - [36]
TLOAPLBJadd a license - [37]
WB6SIB7HMerge lines.love - [38]
T4FRZSYLdelete an ancient, unused file - [39]
D2GCFTTTclean up repl functionality - [40]
TVCPXAAUrename - [41]
QD4LOFQRMerge text.love - [42]
2CFLXLIEMerge text.love - [43]
3G723RV5Merge text.love - [44]
KMSL74GAsupport selections in the source editor - [45]
KKMFQDR4editing source code from within the app - [46]
K2X6G75Zstart writing some tests for drawings - [47]
3PSFWAILMerge lines.love - [48]
VBU5YHLRMerge lines.love - [49]
VP5KC4XZMerge lines.love - [50]
2JLMNZZIMerge text.love - [51]
ATQO62TFMerge lines.love - [52]
MD3W5IRAnew fork: rip out drawing support - [53]
BJ5X5O4Alet's prevent the text cursor from ever getting on a drawing - [54]
VXORMHMEdelete experimental REPL - [55]
XX7G2FFJintermingle freehand line drawings with text - [56]
BLWAYPKVextract a module - [57]
4SR3Z4Y3document the version of LÖVE I've been using - [58]
36Z442IVback to commit 8123959e52f without code editing - [59]
2CTN2IEFMerge lines.love - [60]
OTIBCAUJlove2d scaffold - [61]
ORKN6EOBMerge lines.love - [62]
ZLJYLPOTMerge lines.love - [63]
JOPVPUSAediting source code from within the app - [64]
OGUV4HSAremove some memory leaks from rendered fragments - [65]
3QNOKBFMbeginnings of a test harness - [66]
R5QXEHUIsomebody stop me - [67]
LWPFEZBIMerge lines.love - [68]
K74U4BAUMerge lines.love - [69]
ONHKBLLCMerge lines.love - [70]
UAYCSFSKMerge text.love - [71]
JZR3QMTNMerge lines.love - [72]
ED4Z6ORCcleaner API for file-system access
Change contents
- file deletion: source_text.lua source_text.lua
App.color(Line_number_color)love.graphics.print(line_index, State.left-Line_number_width*App.width('m')+10,y)initialize_color() - file deletion: source_edit.lua source_edit.lua
button(State, 'draw', {x=4, y=y+4, w=12,h=12, color={1,1,0},icon = icon.insert_drawing,onpress1 = function()Drawing.before = snapshot(State, line_index-1, line_index)table.insert(State.lines, line_index, {mode='drawing', y=y, h=256/2, points={}, shapes={}, pending={}})table.insert(State.line_cache, line_index, {})if State.cursor1.line >= line_index thenState.cursor1.line = State.cursor1.line+1endschedule_save(State)record_undo_event(State, {before=Drawing.before, after=snapshot(State, line_index-1, line_index+1)})end,})Line_number_color = {r=0.6, g=0.6, b=0.6}Icon_color = {r=0.7, g=0.7, b=0.7} -- color of current mode icon in drawingsHelp_color = {r=0, g=0.5, b=0}Help_background_color = {r=0, g=0.5, b=0, a=0.1} - file deletion: source.lua source.lua
Editor_state = edit.initialize_state(Margin_top, Margin_left + Line_number_width*App.width('m'), App.screen.width-Margin_right)Editor_state.filename = 'run.lua'Editor_state = edit.initialize_state(Margin_top, Margin_left + Line_number_width*App.width('m'), right, settings.font_height, math.floor(settings.font_height*1.3))Editor_state.filename = settings.filenameLine_number_width = 3 -- in ems-- called both in tests and real runfunction source.initialize_globals()-- tests currently mostly clear their own stateShow_log_browser_side = falseFocus = 'edit'Show_file_navigator = falseFile_navigation = {