Files
cadcraft/crates/ui-egui/tests
Cody VogtandClaude Opus 5.5 5134098c57 Enhanced Attribute Editor: open it on a reference with one attribute current
attedit::open(app, handle, current) opens the dialog on a block reference
of the active drawing with the given attribute (an index in
cadcraft_engine::attributes order) current: its tag is bold, and its value
box takes the focus and scrolls into view in the first frame. Without one,
or for one that can't be changed, the first editable attribute is current.
It returns false, and opens nothing, for anything but a block reference
with an attribute that can be changed. ATTEDIT/EATTEDIT from a menu go
through it, and Apply keeps the current attribute.

This is what a double-click on an attribute needs (#1790).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 09:42:02 -06:00
..