Skip to content

Fix list indentation (#53), highlight shortcut (#52), default sidebar tab (#48), launch flash (#47) - #54

Merged
solancer merged 1 commit into
mainfrom
fix/issues-47-53
Nov 18, 2026
Merged

solancer merged 1 commit into
mainfrom
fix/issues-47-53

Conversation

@solancer

Copy link
Copy Markdown
Owner

Fixes #53, #52, #48, #47.

Lists: keyboard indentation (#53)

  • Tab / Shift+Tab and Blocks > List Indentation move a list item a whole level (nested under the item above, or back out to its parent's level), together with its continuation lines and nested items. The caret stays where it was, so you can keep typing.
    • Before: indenting left the caret before the -, so typed text missed the item. Tab inserted spaces after the marker (- ) instead of indenting.
  • Typing extra spaces after an empty item's marker (- ) no longer puts the caret in hidden text. Text used to land before the marker, and space seemed to stop working.
  • Enter or Backspace on an empty nested item moves it out a level instead of ending the list or deleting the line.
  • Shift+Tab outside a list no longer inserts two spaces.

Highlight shortcut (#52)

Format > Highlight, Cmd/Ctrl+Shift+H, toggles ==mark== on the selection (the same toggle as the selection toolbar). It's also in the command palette.

Default sidebar tab (#48)

Settings > Appearance > "Sidebar opens on": Files, Outline or Search, used when a window starts.

No white flash on launch (#47), desktop only

Windows are created hidden and show themselves once the saved theme has been applied and painted. A 3 s Rust fallback shows a window if the frontend never gets that far. Opening a file from Finder no longer forces a window that is still starting up to show early.

Testing

  • New checks in editor-interactions (indent/outdent, Tab, Enter/Backspace on empty nested items), livesource (bare marker with spaces) and e2e-settings (sidebar tab persisted and applied after reload).
  • pnpm test, pnpm lint, pnpm lint:rust, pnpm typecheck, pnpm test:e2e and pnpm test:web all pass.
  • Reproduced Keyboard/typing errors #53 in Playwright WebKit and Chromium before the fix and confirmed it after.
  • Real macOS app (pnpm tauri dev): the window appears already themed, and Format > Highlight shows ⇧⌘H.

#49 (D2 on WebKit) is handled separately by #50.

🤖 Generated with Claude Code

…tab option, remove launch flash

Lists (#53): Tab / Shift+Tab and Blocks > List Indentation now move a
list item a whole level (under the item above, or back out to its
parent's level) together with its content and nested items, and the
caret keeps its place. Indent used to leave the caret before the "-",
and Tab inserted spaces after the marker ("-   "). Typing extra spaces
after an empty item's marker no longer puts the caret in hidden text
(text landed before the marker and space appeared to stop working).
Enter and Backspace on an empty nested item move it out a level.
Shift+Tab outside a list no longer inserts spaces.

Highlight (#52): Format > Highlight, Cmd/Ctrl+Shift+H, toggles ==mark==
on the selection; also in the command palette.

Sidebar (#48): Settings > Appearance > "Sidebar opens on" picks Files,
Outline or Search for new windows.

Launch flash (#47): windows start hidden and show once the saved theme
is painted, with a 3 s Rust fallback so a window can never stay hidden.
@solancer
solancer merged commit 676a08d into main Nov 18, 2026
1 of 2 checks passed
@solancer
solancer deleted the fix/issues-47-53 branch November 18, 2026 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant