26 lines
1.5 KiB
Markdown
26 lines
1.5 KiB
Markdown
# CommandStd batch cc47703fb2a813cd73dec42b
|
|
|
|
The selected commands have individual executable functions registered in
|
|
`native_standard_handlers` in `WebViewCommands.h`: `execute_Std_About`,
|
|
`execute_Std_AboutQt`, `execute_Std_AnnotationLabel`, and
|
|
`execute_Std_CommandLine`. These functions own runtime About information,
|
|
Qt information, transactional annotation creation, and the persistent Python
|
|
console respectively. `NativeDocumentView.h` forwards commands to that helper;
|
|
the existing Web desktop adapter routes standard commands to the document owner.
|
|
The packet's static registration finding alone does not establish missing
|
|
execution. No marker registration was added.
|
|
|
|
This edit preserves console state across submissions: only opening the console
|
|
selects the requested document, and the convenience `doc` binding is initialized
|
|
without overwriting a variable already present in the shared Python namespace.
|
|
Assignments and `App.setActiveDocument()` calls therefore survive the next
|
|
submission.
|
|
|
|
Remaining boundaries: the console consumes supplied `inputLines` synchronously;
|
|
interactive stdin waiting and UI interruption of running WASM remain unresolved.
|
|
Next implementation step: connect a resumable console input and interruption
|
|
channel between the mounted `web/src/web-standard-task.tsx`, the document-owner
|
|
worker, and the native interpreter. The scheduler rejected the task component
|
|
source window because it is not included in the current packet's source files.
|
|
The full batch remains incomplete until that channel is implemented.
|