Select: Same › Text Fill & Stroke Color selects type whose fill and stroke both match

Select › Same › Text Fill & Stroke Color (select.same.textFillAndStrokeColor) selects the type
objects with a run of characters whose fill and stroke both match the first character of the
first selected type. Type that matches only the fill or only the stroke, or has the fill in one
run and the stroke in another, is left out. The entry follows Text Stroke Color in the menu and
has a row in every catalog.
This commit is contained in:
dotCooCoo
2026-11-02 03:37:17 -08:00
parent 4ee0ef231a
commit fa8addaa12
32 changed files with 109 additions and 0 deletions
+9
View File
@@ -66,6 +66,15 @@ pub fn specs() -> Vec<CommandSpec> {
"select.same.textStrokeColor",
|a, b| a.stroke == b.stroke
)),
cmd!(
"select.same.textFillAndStrokeColor",
"Text Fill & Stroke Color",
["Select", "Same"],
None,
"{} select the type objects with characters whose fill and stroke both match the first character of the first selected type → {count}",
has_selection,
|s, _| same_text(s, "select.same.textFillAndStrokeColor", |a, b| a.fill == b.fill && a.stroke == b.stroke)
),
cmd!(
"select.object.directionHandles",
"Direction Handles",