Show different tabs side by side in split view

Each tab menu has "Open to the right". It shows the tab in a new pane to
the right of the active pane. A pane shows a document or a plugin tab,
for example a browser tab.

- A plugin view stays in the plugin layer above the panes, so a move
  between panes does not mount it again.
- A browser tab that covers the area moves to the left pane when a tab
  opens beside it. The last pane gives its plugin tab the whole area.
- The "Split" toggle of a document is now "Read beside".

Card 565874b2.
This commit is contained in:
Knotty Wyvern
2026-11-10 06:40:44 -07:00
parent d19bb6a1f0
commit 61976191d0
22 changed files with 473 additions and 116 deletions
+14 -2
View File
@@ -75,14 +75,14 @@ On macOS and Linux, you can still open, edit, rename, and delete existing files
## Edit documents
Each document pane has one view control with three choices, and a **Split** button:
Each document pane has one view control with three choices, and a **Read beside** button:
| Choice | Shows |
| --- | --- |
| **Write** | Formatted Markdown. The active line shows its Markdown source. |
| **Source** | The plain source with line numbers and syntax colors |
| **Read** | The rendered document, without editing. Markdown files only. |
| **Split** | Read beside Write or Source. Narrow panes stack the two views. Select **Split** again to close it. Markdown files only. |
| **Read beside** | Read beside Write or Source. Narrow panes stack the two views. Select **Read beside** again to close it. Markdown files only. |
Press Ctrl+E to switch between Write and Source. Press Ctrl+Shift+E to switch between Read and the editor. The tab menu has the same choices under **View**.
The control shows icons only. Hover over an icon, or focus it with the keyboard, to see its name and shortcut. The arrow keys move the choice.
@@ -184,6 +184,18 @@ If the move fails, the source tab stays open.
When you start RuneStone again, it opens the document tabs of the workspace. It keeps their order, pins, and active tab.
This includes PDF tabs and plugin tabs that show a file. RuneStone reads the contents again from disk. Missing files do not stop the other tabs from opening.
### Show tabs side by side
1. Right-click a tab that is not visible.
2. Select **Open to the right**.
The tab opens in a new pane to the right of the active pane. A pane shows a document or a plugin tab, for example a browser tab. A tab shows in one pane at a time.
- Click a pane to make its tab the active tab. A tab that you select, or a file that you open, replaces the content of the active pane. The replaced tab stays open.
- A pane beside other panes names its file in the bar above the document. Select **Close split** in that bar to close the pane. The tab stays open.
- A browser tab that fills the area moves to the left pane when a tab opens to the right. When one pane is left, its browser tab fills the area again.
- The file menu of the file tree and the link menu also have **Open to the right**. In a narrow window, the panes show one above the other.
## Save your work
Auto-save is on by default. It saves changed files every 5 seconds, also in background tabs. RuneStone does not write unchanged files.