forked from 1b-agent/opencadstudio-upstream
ui: neutral wording in code and help text; keywords first in the command menu
Comments and the Options help text describe the behaviour of commercial solutions without naming any product. The command menu puts the command's keywords directly under Enter / Cancel, with Recent Input and Snap Overrides below them, so the choices that change from step to step are the closest to the pointer. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
02cd98e790
commit
0fbb5bcb4f
35 files changed
+83
-81
No files matched your search
@@ -63,7 +63,7 @@ impl OpenCADStudio {
|
||||
// routing, so every path below (Start-tab gate, plugins, all dispatch
|
||||
// families, the Repeat menu) sees the canonical command. Arguments after
|
||||
// the first space are left untouched. A non-alias passes through as-is.
|
||||
// AutoCAD's transparent prefix: `'PAN` / `'ZOOM` run in the middle
|
||||
// The transparent prefix of commercial solutions: `'PAN` / `'ZOOM` run in the middle
|
||||
// of another command and hand control back to it afterwards.
|
||||
let (cmd, quoted) = match cmd.trim().strip_prefix('\'') {
|
||||
Some(rest) => (rest.trim(), true),
|
||||
|
||||
@@ -1492,9 +1492,9 @@ impl OpenCADStudio {
|
||||
Ok((format!("ZOOMFACTOR = {}", self.zoom_factor), false))
|
||||
}
|
||||
},
|
||||
// AutoCAD bit code: 0 = no shortcut menus (right-click
|
||||
// Bit code of commercial solutions: 0 = no shortcut menus (right-click
|
||||
// is Enter), 16 = time-sensitive; everything else is the
|
||||
// regular shortcut menu. Reported as AutoCAD's defaults
|
||||
// regular shortcut menu. Reported as the defaults of commercial solutions
|
||||
// (11 = default+edit+command menus, +16 when
|
||||
// time-sensitive).
|
||||
"SHORTCUTMENU" => {
|
||||
|
||||
Reference in new issue
Block a user