more precise name
[?]
Jul 16, 2022, 5:15 AM
H6QZ7GRR2UBK4POXP6PNMYHHW54SJAQYTTFVPQK4YIJZ4FECAPPQCDependencies
- [2]
ELIVOJ4Nbugfix: zoom in/out hotkeys - [3]
CNCYMM6Amake test initializations a little more obvious - [4]
2L5MEZV3experiment: new edit namespace - [5]
LNUHQOGHstart passing in Editor_state explicitly - [6]
XSLCFVFH. - [7]
BJ5X5O4Alet's prevent the text cursor from ever getting on a drawing - [8]
AVTNUQYRbasic test-enabled framework - [9]
Z4KNS42Nto open a file without a terminal, drag it on! - [10]
AJB4LFRBtry to maintain a reasonable line width - [11]
LF7BWEG4group all editor globals - [12]
QCPXQ2E3add state arg to a few functions - [*]
OTIBCAUJlove2d scaffold - [*]
APYPFFS3call edit rather than App callbacks in tests
Change contents
- edit in main.lua at line 126
function initialize_font_settings(font_height)Editor_state.font_height = font_heightlove.graphics.setFont(love.graphics.newFont(Editor_state.font_height))Editor_state.line_height = math.floor(font_height*1.3)Editor_state.em = App.newText(love.graphics.getFont(), 'm')end - replacement in edit.lua at line 336
initialize_font_settings(State.font_height+2)edit.update_font_settings(State, State.font_height+2) - replacement in edit.lua at line 339
initialize_font_settings(State.font_height-2)edit.update_font_settings(State, State.font_height-2) - replacement in edit.lua at line 342
initialize_font_settings(20)edit.update_font_settings(State, 20) - edit in edit.lua at line 453[15.6146][3.5371]
function edit.update_font_settings(State, font_height)State.font_height = font_heightlove.graphics.setFont(love.graphics.newFont(Editor_state.font_height))State.line_height = math.floor(font_height*1.3)State.em = App.newText(love.graphics.getFont(), 'm')end