Repository navigation
UI: Paragraph dialog sets alignment, indents and spacing - #637
Merged
h-a-n-a-s-h-i merged 2 commits intoOct 14, 2026
Merged
Conversation
format.fontDialog applies family, size, bold, italic, underline, colour, strikethrough, baseline, caps and spacing together, so one undo restores them. With no fields it asks the UI to open the dialog, seeded from the selection. Home › Font, the shape menu and Cmd+T open it. Co-authored-by: Cursor <cursoragent@cursor.com>
format.paragraphDialog applies alignment, first-line and hanging indents, spacing and line spacing in one undo step. With no fields it opens the dialog from the Home › Paragraph launcher. Tabs… opens a standalone Tabs dialog and returns to Paragraph. Co-authored-by: Cursor <cursoragent@cursor.com>
5 tasks done
h-a-n-a-s-h-i
pushed a commit
that referenced
this pull request
Oct 14, 2026
…and #637 #569 and #637 each added a `format.tabs` command and a Tabs dialog. Keep one of each: - format.tabs takes #567/#569's add/move/remove/clear/set plus #637's strict `set` (unknown alignment or non-object entries are errors, stops within 0.05 pt collapse, last wins) and opens the Tabs dialog when called with no fields, as #637 did. A defaultTab-only call no longer rewrites the stops. - The Tabs dialog is #569's; it now seeds from the dialog's params when Paragraph (or format.tabs) opened it, and on OK hands the applied stops back to Paragraph. - Tests adapted: an empty format.tabs opens the dialog; the Paragraph → Tabs test sets stops through #569's dialog fields. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Member
|
Thank you for this contribution, @NikitkaRa! It has landed on If you haven't already, please come join us on Discord: https://discord.gg/artcraft |
h-a-n-a-s-h-i
pushed a commit
that referenced
this pull request
Oct 14, 2026
anishguduru
pushed a commit
to anishguduru/deckcraft
that referenced
this pull request
Oct 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
format.paragraphDialogapplies alignment, before/after text, first-line or hanging indent, spacing before and after, and line spacing (multiple or exactly) in one undo step. With no fields it opens the Paragraph dialog, seeded from the selection.format.tabs: stops and default interval, one undo). Whichever lands second should reconcile onto a single Tabs dialog. OK, Cancel, Esc or close returns to Paragraph with its unsaved fields kept.Test plan
cargo fmt, clippy-D warnings, workspace tests (known macOS font/IME environment failures only),cargo xtask assets,layers,wasm