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]
CE4LZV4Tdrop last couple of manual tests - [7]
LWPFEZBIMerge lines.love - [8]
B6DS4GZCMerge lines.love - [9]
JZR3QMTNMerge lines.love - [10]
BULPIBEGbeginnings of a module for the text editor - [11]
TVCPXAAUrename - [12]
Q6RXCILQMerge text.love - [13]
AVTNUQYRbasic test-enabled framework - [14]
66X36NZNa little more prose describing manual_tests - [15]
3G723RV5Merge text.love - [16]
2CTN2IEFMerge lines.love - [17]
WB6SIB7HMerge lines.love - [18]
SGMA5JLEsave the list of tests in repo - [19]
X43ZIKR3Merge text.love - [20]
2TQUKHBCMerge lines.love - [21]
73OCE2MCafter much struggle, a brute-force undo - [22]
OGUV4HSAremove some memory leaks from rendered fragments - [23]
VHUNJHXBMerge lines.love - [24]
ED4Z6ORCcleaner API for file-system access - [25]
FM5LDKGTMerge text.love - [26]
36Z442IVback to commit 8123959e52f without code editing - [27]
BLWAYPKVextract a module - [28]
D2GCFTTTclean up repl functionality - [29]
4YDBYBA4clean up memory leak experiments - [30]
ATQO62TFMerge lines.love - [31]
VP5KC4XZMerge lines.love - [32]
VBU5YHLRMerge lines.love - [33]
2344TV56Merge lines.love - [34]
3PSFWAILMerge lines.love - [35]
KMSL74GAsupport selections in the source editor - [36]
VHQCNMARseveral more modules - [37]
ORKN6EOBMerge lines.love - [38]
LXTTOB33extract a couple of files - [39]
RSZD5A7Gforgot to add json.lua - [40]
KWIVKQQ7Merge lines.love - [41]
IGBTDA6YMerge text.love - [42]
BJ5X5O4Alet's prevent the text cursor from ever getting on a drawing - [43]
FS2ITYYHrecord a known issue - [44]
KKMFQDR4editing source code from within the app - [45]
2JLMNZZIMerge text.love - [46]
UAYCSFSKMerge text.love - [47]
6LJZN727handle chords - [48]
TLOAPLBJadd a license - [49]
YDUIKWSFMerge text.love - [50]
ONHKBLLCMerge lines.love - [51]
3QNOKBFMbeginnings of a test harness - [52]
T4FRZSYLdelete an ancient, unused file - [53]
JOPVPUSAediting source code from within the app - [54]
2L5MEZV3experiment: new edit namespace - [55]
QD4LOFQRMerge text.love - [56]
2CFLXLIEMerge text.love - [57]
N2NUGNN4include a brief reference enabling many useful apps - [58]
4SR3Z4Y3document the version of LÖVE I've been using - [59]
OTIBCAUJlove2d scaffold - [60]
RO35V4H4Merge text.love - [61]
XX7G2FFJintermingle freehand line drawings with text - [62]
VXRYVZ74Merge text.love - [63]
RU4HIK43Merge lines.love - [64]
ZLJYLPOTMerge lines.love - [65]
K74U4BAUMerge lines.love - [66]
K2X6G75Zstart writing some tests for drawings - [67]
PJ5PQAQErecord support for multiple versions - [68]
JRETETTLMerge lines.love - [69]
REAIVN7WMerge lines.love - [70]
VXORMHMEdelete experimental REPL - [71]
R5QXEHUIsomebody stop me - [72]
MD3W5IRAnew fork: rip out drawing support
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 = {