(win: BrowserWindow)
| 403 | } |
| 404 | |
| 405 | function flushWindowNoteOpens(win: BrowserWindow): void { |
| 406 | const list = pendingWindowNoteOpens.get(win.id) |
| 407 | if (!list || list.length === 0) return |
| 408 | pendingWindowNoteOpens.delete(win.id) |
| 409 | for (const relPath of list) dispatchOpenNoteRequest(win, relPath) |
| 410 | } |
| 411 | |
| 412 | // Full workspace windows created via createWindow. Utility windows — |
| 413 | // quick capture, floating notes, PDF export, external-file editors — |
no test coverage detected