Blocks palette: tabs, options, drag insertion and -INSERT

Rebuild the Blocks palette with Current Drawing / Recent / Favorites /
Libraries tabs, wildcard filter, six views, insertion options, click and
drop insertion and a block context menu. INSERT opens the palette, the
new -INSERT runs on the command line, the ribbon Insert button becomes a
block gallery, and BLOCKMRULIST, BLOCKREDEFINEMODE, BLOCKNAVIGATE,
BLOCKSTATE, EXPLMODE and INSNAME are added.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ramox81andClaude Opus 5.5 committed 2026-10-01 11:17:38 +03:00
1 parent 3dcebf0dc6
commit 0826101c5e
49 files changed
+3401 -573

No files matched your search

+34
View File
@@ -163,6 +163,40 @@ pub(super) fn message_attribute(source: &str) -> Option<(&'static str, &'static
"Requires a positive number." => Some(("insert", "pcs-positive")),
"Requires a positive integer." => Some(("insert", "pcs-positive-int")),
"Traces the points on the kept side of a live section as lines." => Some(("insert", "pcs-help")),
"Add to Favorites" => Some(("insert", "bp-add-favorite")),
"Annotative / Dynamic" => Some(("insert", "bp-annotative-dynamic")),
"Auto-Placement" => Some(("insert", "bp-auto-placement")),
"Blocks from Libraries..." => Some(("insert", "bp-gallery-libraries")),
"Choose a library folder with …" => Some(("insert", "bp-choose-library")),
"Current Drawing" => Some(("insert", "bp-tab-current")),
"Current Drawing Blocks" => Some(("insert", "bp-heading-current")),
"Extra Large Icons" => Some(("insert", "bp-view-xl")),
"Favorite Blocks" => Some(("insert", "bp-heading-favorites")),
"Favorite Blocks..." => Some(("insert", "bp-gallery-favorites")),
"Favorites" => Some(("insert", "bp-tab-favorites")),
"Filter... (* ? wildcards)" => Some(("insert", "bp-filter")),
"Icon" => Some(("insert", "bp-icon")),
"Insertion Point" => Some(("insert", "bp-insertion-point")),
"Large Icons" => Some(("insert", "bp-view-large")),
"Libraries" => Some(("insert", "bp-tab-libraries")),
"Library Blocks" => Some(("insert", "bp-heading-libraries")),
"Medium Icons" => Some(("insert", "bp-view-medium")),
"Recent" => Some(("insert", "bp-tab-recent")),
"Recent Blocks" => Some(("insert", "bp-heading-recent")),
"Recent Blocks..." => Some(("insert", "bp-gallery-recent")),
"Redefine" => Some(("insert", "bp-redefine")),
"Remove Block" => Some(("insert", "bp-remove-block")),
"Remove from Favorites" => Some(("insert", "bp-remove-favorite")),
"Remove from List" => Some(("insert", "bp-remove-list")),
"Repeat Placement" => Some(("insert", "bp-repeat-placement")),
"Select a Block Library Folder" => Some(("insert", "bp-select-library")),
"Small Icons" => Some(("insert", "bp-view-small")),
"specified on screen" => Some(("insert", "bp-on-screen")),
"Block \"{}\" not found." => Some(("insert", "bp-block-not-found")),
"Block \"{name}\" redefined." => Some(("insert", "bp-block-redefined")),
"Block \"{name}\" has no reference in the drawing to edit." => Some(("insert", "bp-block-no-reference")),
"Block \"{name}\" is referenced in the drawing and cannot be removed." => Some(("insert", "bp-block-referenced")),
"Block \"{name}\" removed." => Some(("insert", "bp-block-removed")),
"Stylization" => Some(("properties", "stylization")),
"Color scheme" => Some(("properties", "color-scheme")),
"Scan Colors" => Some(("properties", "scan-colors")),