| 477 | } |
| 478 | |
| 479 | void 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 | |
| 487 | void PythonApp::runScript(int idx) { |
| 488 | if (idx < 0 || idx >= _scriptCount) return; |
nothing calls this directly
no outgoing calls
no test coverage detected