mirror of
https://github.com/storytold/cadcraft.git
synced 2026-12-01 18:25:32 -06:00
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>