Edit sketch text content and placement from its outlines (#253)
* Expose interactive editing and placement of sketch text * Respect document units when editing sketch text * Route Edit Text through the shared feature dialog The sketch text editor is now a Kind::Text dialog opened through Dialog::for_command (frame.rs docking, standard OK/Cancel, Enter/Esc). Its fields are ordinary dialog fields: they take expressions, parameters and units, and bare lengths are in the design's units. Untouched fields keep their exact saved values. The dialog stays open across unrelated design changes and closes only when its text is gone, the sketch ends, or another command starts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RjGw4gA5ZvKrU8MQP6sBgT --------- Co-authored-by: bherbruck <brennen.herbruck@gmail.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
7 files changed
+461
-2
No files matched your search
@@ -63,6 +63,11 @@ headline counts in-scope tabs only and lists the deferred ones separately.
|
||||
|
||||
## Dimensioning and error reporting
|
||||
|
||||
- Sketch text can be edited from a selected outline's context menu or the Edit Text command.
|
||||
Content, baseline X/Y, height and rotation update the original text source in one undo step;
|
||||
cancelling or rejecting an invalid value preserves the sketch. Position and height fields
|
||||
use the document units captured when editing starts; generated outlines remain associated
|
||||
with their text source, and untouched inputs preserve their saved internal values.
|
||||
- Repeating the initial point of a planar multi-point sketch drawing tool is neutral: the tool
|
||||
waits for a distinct point without a degenerate-shape error or history entry. Typed input
|
||||
and programmatic commands retain their validation.
|
||||
|
||||
Reference in new issue
Block a user