MCPcopy Create free account
hub / github.com/El-EnderJ/NeoCalculator / openScriptInEditor

Method openScriptInEditor

src/apps/PythonApp.cpp:479–485  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

477}
478
479void PythonApp::openScriptInEditor(int idx) {
480 if (idx < 0 || idx >= _scriptCount) return;
481 strncpy(_editFilename, _scriptNames[idx], MAX_FILENAME - 1);
482 loadIntoEditor(_editFilename);
483 switchTab(Tab::EDITOR);
484 _focus = Focus::CONTENT;
485}
486
487void PythonApp::runScript(int idx) {
488 if (idx < 0 || idx >= _scriptCount) return;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected