resolve conflicts
Dependencies
- [2]
HXH4AIF2primitives for writing tests - [3]
Y3ZR4TOKMerge lines.love - [4]
TFUNIT6Mresolve conflicts - [5]
GAPPXISYmoar bugfix X-( - [6]
QJISOCHJsome temporary logging to catch a bug - [7]
OTIBCAUJlove2d scaffold - [8]
W5WCQNMPbugfix: Windows pushing title bar off screen - [9]
G54H3YG2get rid of all bifold text - [10]
ZMBPXIZ4bugfix - [11]
OI4FPFINsupport drawings in the source editor - [12]
3XNFQDDNMerge lines.love - [13]
ZLJYLPOTMerge lines.love - [14]
WKXJNESIresolve conflicts - [15]
5SM6DRHKport inscript's bugfix to source editor - [16]
B4JEWKWIhide editor cursor while in file navigator - [17]
JZR3QMTNMerge lines.love - [18]
2CK5QI7Wmake love event names consistent - [19]
ONHKBLLCMerge lines.love - [20]
RU4HIK43Merge lines.love - [21]
3QNOKBFMbeginnings of a test harness - [22]
KKMFQDR4editing source code from within the app - [23]
H5UZI3YNeditor documentation - [24]
VXORMHMEdelete experimental REPL - [25]
OGUV4HSAremove some memory leaks from rendered fragments - [26]
VHQCNMARseveral more modules - [27]
DCO5BQWVMerge lines.love - [28]
4SR3Z4Y3document the version of LÖVE I've been using - [29]
R5QXEHUIsomebody stop me - [30]
G3DLS5OUaudit all asserts - [31]
PXSQR2ADhide line numbers from log browser - [32]
AYX33NBCMerge lines.love - [33]
7YGYHOEOMerge lines.love - [34]
JJDUDMVXMerge lines.love - [35]
XX7G2FFJintermingle freehand line drawings with text - [36]
AVTNUQYRbasic test-enabled framework - [37]
LNUHQOGHstart passing in Editor_state explicitly - [38]
APYPFFS3call edit rather than App callbacks in tests - [39]
CNCYMM6Amake test initializations a little more obvious - [40]
KMSL74GAsupport selections in the source editor - [41]
H6QZ7GRRmore precise name - [42]
IX5YTLSVstate validation in source editor as well - [43]
BULPIBEGbeginnings of a module for the text editor - [44]
T4FRZSYLdelete an ancient, unused file - [45]
TLOAPLBJadd a license - [46]
SGMA5JLEsave the list of tests in repo - [47]
TBTRYEBPMerge lines.love - [48]
RRDO6H7Hbugfix - [49]
H4R5BHVYno more Text allocations - [50]
ATQO62TFMerge lines.love - [51]
5XA7TKWYpull font into editor - [52]
SDO4DHNUsource: load cursor position from settings - [53]
TVCPXAAUrename - [54]
2CTN2IEFMerge lines.love - [55]
4VQGE7RAnew test - [56]
B6DS4GZCMerge lines.love - [57]
EVMVBLXDbugfix: preserve window position - [58]
4KC7I3E2make colors easier to edit - [59]
5RDWSYK2consistently use App names for methods everywhere - [60]
D76MS2G2Merge lines.love - [61]
BLWAYPKVextract a module - [62]
S3PNFXTBhandle missing cursors in settings - [63]
D2GCFTTTclean up repl functionality - [64]
LF7BWEG4group all editor globals - [65]
JKENJ2UGMerge lines.love - [66]
ZL6DXCQ2update doc - [67]
UZQ2LGHQbugfix: preserve window position - [68]
OB5XOXVCdeemphasize the source editor - [69]
2TQUKHBCMerge lines.love - [70]
PP2IIHL6stop putting button state in a global - [71]
VBU5YHLRMerge lines.love - [72]
MD3W5IRAnew fork: rip out drawing support - [73]
FS2ITYYHrecord a known issue - [74]
U3MJNFUYMerge lines.love - [75]
LXTTOB33extract a couple of files - [76]
YXQOITYSMerge lines.love - [77]
KKQKPGCIresolve conflicts - [78]
ORKN6EOBMerge lines.love - [79]
2L5MEZV3experiment: new edit namespace - [80]
AOZX2G5Fsource: no commandline args - [81]
6LJZN727handle chords - [82]
UD7HNQL7purge unused button infrastructure - [83]
JNAQUQKBMerge lines.love - [84]
A23MMLJHmigrate old settings, attempt #3 - [85]
3PSFWAILMerge lines.love - [86]
66X36NZNa little more prose describing manual_tests - [87]
GX236KZGRevert "deemphasize the source editor" - [88]
R2ASHK5Cfix a bad merge - [89]
TFM6F5ODMerge lines.love - [90]
4YDBYBA4clean up memory leak experiments - [91]
LWPFEZBIMerge lines.love - [92]
2WGHUWE6self-documenting 0 Test_right_margin - [93]
7JEYXICUresolve conflicts - [94]
6VJTQKW7start supporting LÖVE v12 - [95]
VP5KC4XZMerge lines.love - [96]
J3I6DVMBdrop an unused arg - [97]
JOPVPUSAediting source code from within the app - [98]
MGJZHZC4Merge lines.love - [99]
34BZ5ZKNMerge lines.love - [100]
K2X6G75Zstart writing some tests for drawings - [101]
73OCE2MCafter much struggle, a brute-force undo - [102]
ISOFHXB2App.width can no longer take a Text - [103]
ED4Z6ORCcleaner API for file-system access - [104]
TYFAGQWSrepeat bugfix on source editor - [105]
VHUNJHXBMerge lines.love - [106]
CWQIPU7Ualways show line numbers in source editor - [107]
CE4LZV4Tdrop last couple of manual tests - [108]
3HHPHDOOcouple of typos - [109]
N2NUGNN4include a brief reference enabling many useful apps - [110]
RSZD5A7Gforgot to add json.lua - [111]
BJ5X5O4Alet's prevent the text cursor from ever getting on a drawing - [112]
3TI67SEJmore bugfix
Change contents
- file deletion: source_edit.lua source_edit.lua
font = font,end -- edit.initialize_statelove.graphics.setFont(State.font)State.font = love.graphics.newFont(State.font_height)love.graphics.getFont(),14,15) -- line heightendState.line_height = math.floor(font_height*1.3)App.color(Text_color)font_height = font_height,line_height = line_height,function edit.initialize_state(top, left, right, font, font_height, line_height) -- currently always draws to bottom of screenlocal result = { - file deletion: source.lua source.lua
local font = love.graphics.newFont(settings.font_height)local font = love.graphics.newFont(font_height)Editor_state = edit.initialize_state(Margin_top, Margin_left + Line_number_width*App.width('m'), App.screen.width-Margin_right, font, font_height, math.floor(font_height*1.3))Editor_state.filename = 'run.lua'source.initialize_window_geometry()Editor_state = edit.initialize_state(Margin_top, Margin_left + Line_number_width*App.width('m'), right, font, settings.font_height, math.floor(settings.font_height*1.3))Editor_state.filename = settings.filename-- set up desired window dimensions and make window resizable_, _, App.screen.flags = App.screen.size()App.screen.flags.resizable = trueApp.screen.width, App.screen.height = settings.width, settings.heightApp.screen.resize(App.screen.width, App.screen.height, App.screen.flags) - file deletion: run.lua run.lua
local font = love.graphics.newFont(Settings.font_height)local font = love.graphics.newFont(font_height)Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width-Margin_right, font, font_height, math.floor(font_height*1.3))Settings = run.settings()endrun.initialize_window_geometry()Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width-Margin_right, font, Settings.font_height, math.floor(Settings.font_height*1.3))Editor_state.filename = Settings.filenameEditor_state.screen_top1 = Settings.screen_topEditor_state.cursor1 = Settings.cursor-- set up desired window dimensions and make window resizable_, _, App.screen.flags = App.screen.size() - file deletion: log_browser.lua log_browser.lua
Log_browser_state = edit.initialize_state(Margin_top, Editor_state.right + Margin_right + Margin_left, (Editor_state.right+Margin_right)*2, Editor_state.font, Editor_state.font_height, Editor_state.line_height)Log_browser_state.filename = 'log'load_from_disk(Log_browser_state) -- TODO: pay no attention to Foldlog_browser.parse(Log_browser_state)Text.redraw_all(Log_browser_state)Log_browser_state.screen_top1 = {line=1, pos=1} - replacement in source_edit.lua at line 28
function edit.initialize_state(top, left, right, font_height, line_height) -- currently always draws to bottom of screenfunction edit.initialize_state(top, left, right, font, font_height, line_height) -- currently always draws to bottom of screen - edit in source_edit.lua at line 88
font = font, - replacement in source_edit.lua at line 109
end -- App.initialize_stateend -- edit.initialize_state - edit in source_edit.lua at line 161
love.graphics.setFont(State.font) - replacement in source_edit.lua at line 557
love.graphics.setFont(love.graphics.newFont(State.font_height))State.font = love.graphics.newFont(State.font_height) - replacement in source_edit.lua at line 574
14, -- font height assuming default LÖVE fontlove.graphics.getFont(),14, - replacement in source.lua at line 117
love.graphics.setFont(love.graphics.newFont(settings.font_height))local font = love.graphics.newFont(settings.font_height) - replacement in source.lua at line 129
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 = edit.initialize_state(Margin_top, Margin_left + Line_number_width*App.width('m'), right, font, settings.font_height, math.floor(settings.font_height*1.3)) - replacement in source.lua at line 155
love.graphics.setFont(love.graphics.newFont(font_height))local font = love.graphics.newFont(font_height) - replacement in source.lua at line 157
Editor_state = edit.initialize_state(Margin_top, Margin_left + Line_number_width*App.width('m'), App.screen.width-Margin_right)Editor_state = edit.initialize_state(Margin_top, Margin_left + Line_number_width*App.width('m'), App.screen.width-Margin_right, font, font_height, math.floor(font_height*1.3)) - edit in source.lua at line 159
Editor_state.font_height = font_heightEditor_state.line_height = math.floor(font_height*1.3) - replacement in run.lua at line 57
love.graphics.setFont(love.graphics.newFont(Settings.font_height))local font = love.graphics.newFont(Settings.font_height) - replacement in run.lua at line 64[6.88]→[6.179864:180019](∅→∅),[6.1739]→[6.179864:180019](∅→∅),[6.1858]→[6.179864:180019](∅→∅),[6.179864]→[6.179864:180019](∅→∅)
Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width-Margin_right, Settings.font_height, math.floor(Settings.font_height*1.3))Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width-Margin_right, font, Settings.font_height, math.floor(Settings.font_height*1.3)) - replacement in run.lua at line 82
love.graphics.setFont(love.graphics.newFont(font_height))local font = love.graphics.newFont(font_height) - replacement in run.lua at line 84
Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width-Margin_right)Editor_state.font_height = font_heightEditor_state.line_height = math.floor(font_height*1.3)Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width-Margin_right, font, font_height, math.floor(font_height*1.3)) - replacement in reference.md at line 193
returns an object that can be used to render an interactive editor widget* `state = edit.initialize_state(top, left, right, font, font_height, line_height)`-- returns an object that can be used to render an interactive editor widget - edit in reference.md at line 421
* `state = edit.initialize_state(top, left, right, font, font_height, line_height)`-- returns an object that can be used to render an interactive editor widget - resolve order conflict in reference.md at line 421[2.1123]
- replacement in log_browser.lua at line 9
Log_browser_state = edit.initialize_state(Margin_top, Editor_state.right + Margin_right + Margin_left, (Editor_state.right+Margin_right)*2, Editor_state.font_height, Editor_state.line_height)Log_browser_state = edit.initialize_state(Margin_top, Editor_state.right + Margin_right + Margin_left, (Editor_state.right+Margin_right)*2, Editor_state.font, Editor_state.font_height, Editor_state.line_height) - resurrect zombie in edit.lua at line 50[6.3321]→[6.1441:1458](∅→∅),[6.3321]→[6.1441:1458](∅→∅),[6.1458]→[6.1296:1327](∅→∅),[6.1458]→[6.1296:1327](∅→∅)
font = font,font_height = font_height, - edit in edit.lua at line 103
love.graphics.setFont(State.font) - replacement in edit.lua at line 389
love.graphics.setFont(love.graphics.newFont(State.font_height))State.font = love.graphics.newFont(State.font_height) - replacement in edit.lua at line 406
14, -- font height assuming default LÖVE fontlove.graphics.getFont(),14, - edit in edit.lua at line 456[6.12430]→[4.129:129](∅→∅),[6.1119]→[6.1620:1651](∅→∅),[6.1119]→[6.1620:1651](∅→∅),[6.264]→[6.1563:1619](∅→∅),[6.264]→[6.1563:1619](∅→∅),[6.44]→[6.1526:1562](∅→∅),[6.44]→[6.1526:1562](∅→∅),[6.44]→[6.1526:1562](∅→∅),[6.1651]→[6.1328:1338](∅→∅),[6.1651]→[6.1328:1338](∅→∅)
love.graphics.getFont(),State.font = love.graphics.newFont(State.font_height)love.graphics.setFont(State.font)14, - resolve order conflict in edit.lua at line 456[6.12430]