source: no commandline args
[?]
Sep 19, 2022, 7:16 AM
AOZX2G5FVANPHTV74V6YR7SNTMUD4F4IYN53OGKYHUWBCCWF5S4QCDependencies
- [2]
KKMFQDR4editing source code from within the app - [3]
X3CQLBTRset window title within each app - [4]
JMUD7T3Oget rid of ugly side-effects in tests
Change contents
- replacement in source.lua at line 86
function source.initialize_edit_side(arg)if #arg > 0 thenEditor_state.filename = arg[1]load_from_disk(Editor_state)Text.redraw_all(Editor_state)Editor_state.screen_top1 = {line=1, pos=1}Editor_state.cursor1 = {line=1, pos=1}elseload_from_disk(Editor_state)Text.redraw_all(Editor_state)endfunction source.initialize_edit_side()load_from_disk(Editor_state)Text.redraw_all(Editor_state) - edit in source.lua at line 90
if #arg > 1 thenprint('ignoring commandline args after '..arg[1])end - edit in source.lua at line 145
Editor_state.filename = 'run.lua'