bugfix
Dependencies
- [2]
5XA7TKWYpull font into editor - [3]
ZL6DXCQ2update doc - [4]
N2NUGNN4include a brief reference enabling many useful apps - [5]
2L5MEZV3experiment: new edit namespace - [6]
KKMFQDR4editing source code from within the app - [7]
AOZX2G5Fsource: no commandline args - [8]
W5WCQNMPbugfix: Windows pushing title bar off screen - [9]
H5UZI3YNeditor documentation - [10]
3HHPHDOOcouple of typos - [11]
UZQ2LGHQbugfix: preserve window position - [12]
OI4FPFINsupport drawings in the source editor - [13]
CNCYMM6Amake test initializations a little more obvious - [14]
LF7BWEG4group all editor globals - [15]
UHB4GARJleft/right margin -> left/right coordinates - [16]
CWQIPU7Ualways show line numbers in source editor - [17]
5RDWSYK2consistently use App names for methods everywhere - [18]
J3I6DVMBdrop an unused arg
Change contents
- replacement in source_edit.lua at line 28
function edit.initialize_state(top, left, right, font, 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 575
14, - replacement in source.lua at line 129
Editor_state = edit.initialize_state(Margin_top, Margin_left + Line_number_width*App.width('m'), right, font, math.floor(settings.font_height*1.3))Editor_state = edit.initialize_state(Margin_top, Margin_left + Line_number_width*App.width('m'), right, font, font_height, math.floor(settings.font_height*1.3)) - 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, font, math.floor(font_height*1.3))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)) - replacement in run.lua at line 64
Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width-Margin_right, font, 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 84
Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width-Margin_right, font, 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
* `state = edit.initialize_state(top, left, right, font, line_height)` --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 - 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, 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) - replacement in edit.lua at line 26
function edit.initialize_state(top, left, right, font, 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 - replacement in edit.lua at line 87
font_height = font:getHeight(),font_height = font_height, - edit in edit.lua at line 571
14,