From 208e617868229555fc941b29cf3dd00acbb91895 Mon Sep 17 00:00:00 2001 From: Hakan Seven Date: Thu, 16 Jul 2026 14:37:10 +0300 Subject: [PATCH] feat(commands): step the selection-first text commands (bucket C) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add SelectThenValueCommand (gather selection, then one value) and convert: - SelectThenValueCommand: HYPERLINK (url), ARCTEXT (text), TEXTFIT (width), SCALETEXT (factor), TCOUNT (start), TEXTMASK (Enter to apply). - SelectThenKeywordCommand: JUSTIFYTEXT (Left/Center/Right/Middle/Aligned/Fit), TCASE (Upper/Lower/Sentence/Title). Each bare form gathers a selection when none is set, prompts, and delegates to the inline handler. OBJECTSCALE already opens its dialog; TABLE CELL takes three values (row/col/text) and stays typeable — TABLE bare already builds a table interactively. --- src/app/commands/dim.rs | 89 +++++++++++++++++++++++++++++++--- src/app/commands/display.rs | 13 ++++- src/app/commands/styleprops.rs | 13 ++++- src/command.rs | 78 +++++++++++++++++++++++++++++ 4 files changed, 185 insertions(+), 8 deletions(-) diff --git a/src/app/commands/dim.rs b/src/app/commands/dim.rs index d83c32053..faaf7bb2f 100644 --- a/src/app/commands/dim.rs +++ b/src/app/commands/dim.rs @@ -56,7 +56,26 @@ impl OpenCADStudio { // JUSTIFYTEXT