REFEDIT session toolbar: definition name, working set count, REFSET

The right-edge toolbar of a REFEDIT session now shows the definition
being edited (REFEDITNAME) as an accent pill with the number of objects
in the working set, Add to / Remove from Working Set buttons with their
own icons (REFSET Add / Remove, straight to object selection), and
Save / Discard in a separate group below a rule.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
ramox81andClaude Opus 5.5 committed 2026-10-14 10:51:22 +03:00
1 parent 592289f4fd
commit 74d65c26be
29 files changed
+218 -7

No files matched your search

+2
View File
@@ -3,6 +3,8 @@
pub(super) fn message_attribute(source: &str) -> Option<(&'static str, &'static str)> {
match source {
"Add to Working Set" => Some(("ref-edit", "add-to-working-set")),
"Remove from Working Set" => Some(("ref-edit", "remove-from-working-set")),
"Select reference:" => Some(("ref-edit", "select-reference")),
"Reference not found." => Some(("ref-edit", "reference-not-found")),
"Object is not a valid reference" => Some(("ref-edit", "not-valid-reference")),