Multi-Document Interface – Opening Multiple Files Simultaneously
This version introduces a multi-document interface: multiple rule files can be open at the same time, each in its own tab.
What changed?
The previous version had a single rule table. The new version shows a tab bar at the top of the main window. Each tab represents one open document with its own name, rules, and unsaved-changes state.
Creating a new empty document
Click "New File" in the toolbar. A new tab named "Document 1" (incrementing) is created and immediately activated.
Switching between documents
Click any tab in the tab bar. All toolbar actions (New Rule, Execute, Shortcuts, etc.) always apply only to the active document.
Closing a document
Click the × icon on the tab or press Ctrl+F4. If the document has unsaved changes, a dialog appears:
| Situation | Dialog |
|---|---|
| Document has rules, unsaved or modified | "Would you like to save «DocumentName»?" → Yes / No |
| Document is empty (no rules) | Closed without prompt |
| Document was last saved, no changes | Closed without prompt |
Change detection
The tool automatically detects whether a document has been modified since the last save by comparing the current content with the saved state.
Restoring the last state
If "Load Last Selection" is enabled in Settings, the tool automatically reopens all documents that were open when it was last closed (provided the files still exist).
Keyboard shortcuts
| Action | Shortcut |
|---|---|
| Next tab | Ctrl+Tab |
| Previous tab | Ctrl+Shift+Tab |
| Close active tab | Ctrl+F4 |
Comments
0 comments
Please sign in to leave a comment.