Ask Save or Don't save, and show useful status facts

Phase 5-7.

- A changed tab asks Save, Don't save, or Cancel through the native
  dialog, instead of OK and Cancel to discard.
- The conflict banner uses --rs-warn with a warning icon. Keep my
  edits is the primary choice and comes first. Use disk version comes
  last, in the error color. The banner wraps in a narrow pane.
- The status bar shows the save state, the line and column, the word
  count, the line endings, and the view. It shows the watch mode only
  when it polls a network folder.
- The outline and the document facts follow the active tab. A tab
  without a document has no outline and no document facts.
- Tables: only formula cells have a hover hint, so no hint covers the
  next cell. The table adds no gap above its control area. The add
  controls show while a cell has focus.
- The plugin review marks Install and enable as the primary action. The
  other choice is Install, keep disabled.
- Read follows CommonMark soft breaks. Settings, General, Keep line
  breaks shows each source line break. The table preview and cell
  editors of Write keep their line breaks, because their editing
  depends on them.
- Catalog rows in French, Japanese, and Simplified Chinese.
- Docs: UI-053, the user guide, and plugins.md.

Tests: the new layout/plainFixes, the keepLineBreaks cases in the
settings unit tests, and the new install button name.
This commit is contained in:
Knotty Wyvern
2026-10-28 22:06:13 -07:00
parent 0fdc991b2e
commit eeddd880e1
24 changed files with 294 additions and 70 deletions
+6 -4
View File
@@ -82,7 +82,7 @@ Each document pane has one view control with three choices, and a **Split** butt
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**.
In a narrow pane, the control shows only icons. Hover over an icon, or focus it with the keyboard, to see its name. The arrow keys move the choice.
The status bar shows the current view. The bar above the document shows the folder of the file, and the tab shows the file name.
The status bar shows the save state, the line and column of the cursor, the word count, the line endings (LF or CRLF), and the current view. For a folder on a network drive, it also shows **Polling for changes**. A tab without a document, such as the theme editor, has no outline and no document facts. The bar above the document shows the folder of the file, and the tab shows the file name.
Write keeps your Markdown source, frontmatter, and Windows line endings. Read shows frontmatter in a collapsed **Properties** section.
Select a checkbox to complete a task. Copy code blocks without their Markdown fences with the **Copy code** button.
In a list item, press Tab to make a nested item. Press Shift+Tab to move it one level up. RuneStone renumbers the list.
@@ -93,6 +93,8 @@ To rename a note, select its title in Write and type a new name. Press Enter or
The file keeps its folder, extension, contents, and edit history.
To hide the title in Write and Read, turn off **Settings → General → File name title**. Then use F2 or **Rename…** in the tab menu.
Read follows CommonMark: a single line break inside a paragraph is a space. To show each line break of the source in Read, turn on **Settings → General → Keep line breaks**.
### Links and backlinks
- Ctrl+click a link in Write or Source. In Read, a normal click follows the link.
@@ -164,7 +166,7 @@ Press Ctrl+S to save the active file immediately.
To change auto-save, open **Settings → General**. Set an interval from 1 to 300 seconds, or turn auto-save off.
**Restore defaults** sets auto-save on with a 5-second interval.
If you close a tab or window with unsaved edits, RuneStone asks before it discards them or ends terminal sessions.
If you close a tab with unsaved edits, RuneStone asks whether to save them: **Save**, **Don't save**, or **Cancel**. If you close a window with unsaved edits or running terminal sessions, RuneStone asks before it closes.
Unsaved text and terminal sessions do not survive a restart or a crash.
## Resolve file conflicts
@@ -178,9 +180,9 @@ Then choose one action:
| Action | Result |
| --- | --- |
| **Use disk version** | Replaces your edits with the file on disk. |
| **Keep my edits** | Keeps your edits. The next save replaces the file on disk. |
| **Save a copy** | Saves your edits to a new file. |
| **Use disk version** | Replaces your edits with the file on disk. The button is last, in the error color. |
If the file is deleted, the tab keeps your text. Use **Save a copy**, or **Retry** after the file is back.
@@ -194,7 +196,7 @@ Settings apply at once to all workspaces on this computer and update all open wi
| Category | Settings |
| --- | --- |
| General | Display language, **File name title**, **Table formulas**, **Show .runestone folder**, and auto-save |
| General | Display language, **File name title**, **Keep line breaks**, **Table formulas**, **Show .runestone folder**, and auto-save |
| Appearance | Color theme, transparency, background image, and custom themes. See [Appearance and custom themes](guides/themes.md). |
| Plug-ins | Install, enable, update, and remove plugins. See [Install and manage plugins](plugins.md). |
| Browser | Homepage, search engine, profiles, ad blocking, and web data |