feat: DDEDIT command and double-click text editing

Add DDEDIT (ED alias) command that edits Text/MText/Attribute entities
in-place via the command line. Double-clicking a text entity in model space
now auto-launches DDEDIT for that entity. Supports Text, MText,
AttributeDefinition, and AttributeEntity types.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
Hakan SevenandClaude Sonnet 4.6 committed 2026-04-07 11:05:24 +03:00
1 parent 25ec6f66e5
commit 8078c4c9da
7 files changed
+187 -1

No files matched your search

+2
View File
@@ -124,6 +124,8 @@ pub enum CmdResult {
},
/// Set the plot window on the active layout's PlotSettings.
SetPlotWindow { p1: Vec3, p2: Vec3 },
/// Replace the text content of a Text/MText entity in-place.
DdeditEntity { handle: Handle, new_text: String },
}
// ── Trait ─────────────────────────────────────────────────────────────────