Problem
The Open File dialog is configured with multiple: false, so Ctrl/Cmd+O can only select one Markdown document even though Markpad supports multiple tabs.
Expected behavior
The dialog should allow selecting multiple files. Each selected path should be opened as a tab in the selection order; existing tabs should continue to be reused by the existing tab-management path.
Scope
Change only the dialog result handling and add a regression test for the multi-file selection path. Do not alter drag-and-drop semantics.
Problem
The Open File dialog is configured with
multiple: false, so Ctrl/Cmd+O can only select one Markdown document even though Markpad supports multiple tabs.Expected behavior
The dialog should allow selecting multiple files. Each selected path should be opened as a tab in the selection order; existing tabs should continue to be reused by the existing tab-management path.
Scope
Change only the dialog result handling and add a regression test for the multi-file selection path. Do not alter drag-and-drop semantics.