VectorCraft: An open-source, vector art tool written by scratch in pure Rust
Select: Same › Text Fill & Stroke Color selects type whose fill and stroke both match
dotCooCoofa8addaa125f
diff --git a/crates/engine/src/cmd/docmenu.rs b/crates/engine/src/cmd/docmenu.rsindex dc6d2a655..3d77bde15 100644--- a/crates/engine/src/cmd/docmenu.rs+++ b/crates/engine/src/cmd/docmenu.rs@@ -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",diff --git a/crates/engine/src/tests/menucmds.rs b/crates/engine/src/tests/menucmds.rsindex 7bac52cc9..f37855456 100644--- a/crates/engine/src/tests/menucmds.rs+++ b/crates/engine/src/tests/menucmds.rs@@ -1948,6 +1948,49 @@ fn select_same_font_size_and_fill() {assert!(s.execute("select.same.fontSize", &json!({})).is_err());}+/// Select › Same › Text Fill & Stroke Color selects the type with characters whose fill and stroke+/// both match the first character of the selected type: the same fill with another stroke, or the+/// same stroke with another fill, is left out, and in type with several runs one run has to match+/// both.+#[test]+fn select_same_text_fill_and_stroke_color_needs_both_to_match() {+ let mut s = session();+ let typed = |s: &mut Session, y: f64, fill: &str, stroke: &str| {+ let id = id_of(&s.execute("text.create", &json!({"x": 0, "y": y, "text": "type"})).unwrap());+ s.execute("text.setRangeStyle", &json!({"id": id.0, "start": 0, "end": 4, "fill": fill, "stroke": stroke})).unwrap();+ id+ };+ let (red, blue, green) = ("#ff0000", "#0000ff", "#00ff00");+ let a = typed(&mut s, 20.0, red, blue);+ let both = typed(&mut s, 60.0, red, blue);+ let same_fill = typed(&mut s, 100.0, red, green);+ let same_stroke = typed(&mut s, 140.0, green, blue);+ // Mixed runs: "ty" matches both; the other runs do not.+ let mixed = typed(&mut s, 180.0, green, green);+ s.execute("text.setRangeStyle", &json!({"id": mixed.0, "start": 0, "end": 2, "fill": red, "stroke": blue})).unwrap();+ // Mixed runs where one run has the fill and another the stroke: no run matches both.+ let split = typed(&mut s, 220.0, green, green);+ s.execute("text.setRangeStyle", &json!({"id": split.0, "start": 0, "end": 2, "fill": red})).unwrap();+ s.execute("text.setRangeStyle", &json!({"id": split.0, "start": 2, "end": 4, "stroke": blue})).unwrap();+ let r = rect(&mut s, 300.0, 0.0, 5.0, 5.0);+ s.execute("paint.setFill", &json!({"ids": [r.0], "color": red})).unwrap();+ let undo = s.doc().unwrap().history.undo.len();+ sel(&mut s, &[a]);+ assert_eq!(s.execute("select.same.textFillAndStrokeColor", &json!({})).unwrap()["count"], 3);+ assert_eq!(selected(&s), vec![a, both, mixed]);+ assert_eq!(s.doc().unwrap().history.undo.len(), undo, "selecting adds no undo step");+ // The single-attribute commands take the type that matches one of the two.+ sel(&mut s, &[a]);+ assert_eq!(s.execute("select.same.textFillColor", &json!({})).unwrap()["count"], 5);+ assert_eq!(selected(&s), vec![a, both, same_fill, mixed, split]);+ sel(&mut s, &[a]);+ assert_eq!(s.execute("select.same.textStrokeColor", &json!({})).unwrap()["count"], 5);+ assert_eq!(selected(&s), vec![a, both, same_stroke, mixed, split]);+ // With no type selected the command reports it.+ sel(&mut s, &[r]);+ assert!(s.execute("select.same.textFillAndStrokeColor", &json!({})).is_err());+}+#[test]fn select_same_link_block_series_selects_the_frames_of_a_thread() {let mut s = session();diff --git a/crates/ui-egui/src/i18n/bg.tsv b/crates/ui-egui/src/i18n/bg.tsvindex 073f57715..dd5f4c07d 100644--- a/crates/ui-egui/src/i18n/bg.tsv+++ b/crates/ui-egui/src/i18n/bg.tsv@@ -3306,6 +3306,7 @@ digits Malayalam МалаяламTemplates… Шаблони…Text Displayed in Cell: Текст, показван в клетката:Text Export Options Опции за експортиране на текст+ Text Fill & Stroke Color Цвят на запълване и щрих на текстаText Fill Color Цвят на запълване на текстаText Import Options Опции за импортиране на текстText Stroke Color Цвят на щриха на текстаdiff --git a/crates/ui-egui/src/i18n/bs.tsv b/crates/ui-egui/src/i18n/bs.tsvindex 80e02fbe4..a8763ad74 100644--- a/crates/ui-egui/src/i18n/bs.tsv+++ b/crates/ui-egui/src/i18n/bs.tsv@@ -426,6 +426,7 @@Variable Font Varijabilni fontText Fill Color Boja ispune tekstaText Stroke Color Boja poteza teksta+ Text Fill & Stroke Color Boja ispune i poteza tekstaAll on Same Layers Sve na istim slojevimaDirection Handles Ručke smjeraBrush Strokes Potezi četkicomdiff --git a/crates/ui-egui/src/i18n/ca.tsv b/crates/ui-egui/src/i18n/ca.tsvindex b6985fb13..f85398a17 100644--- a/crates/ui-egui/src/i18n/ca.tsv+++ b/crates/ui-egui/src/i18n/ca.tsv@@ -4225,6 +4225,7 @@ digits Malayalam MalaiàlamText Displayed in Cell Text mostrat a la cel·laText Displayed in Cell: Text mostrat a la cel·la:Text Export Options Opcions d’exportació de text+ Text Fill & Stroke Color Color de farciment i traç del textText Fill Color Color de farciment del textText Import Options Opcions d’importació de textText Orientation Orientació del textdiff --git a/crates/ui-egui/src/i18n/cs.tsv b/crates/ui-egui/src/i18n/cs.tsvindex 367be32b2..a84716c78 100644--- a/crates/ui-egui/src/i18n/cs.tsv+++ b/crates/ui-egui/src/i18n/cs.tsv@@ -434,6 +434,7 @@Variable Font Variabilní písmoText Fill Color Barva výplně textuText Stroke Color Barva tahu textu+ Text Fill & Stroke Color Barva výplně a tahu textuAll on Same Layers Vše ve stejných vrstváchDirection Handles Směrové úchytyBrush Strokes Tahy štětcemdiff --git a/crates/ui-egui/src/i18n/da.tsv b/crates/ui-egui/src/i18n/da.tsvindex 7b077a50a..535034c21 100644--- a/crates/ui-egui/src/i18n/da.tsv+++ b/crates/ui-egui/src/i18n/da.tsv@@ -393,6 +393,7 @@Variable Font Variabel skrifttypeText Fill Color TekstfyldfarveText Stroke Color Tekststregfarve+ Text Fill & Stroke Color Tekstfyld- og stregfarveAll on Same Layers Alt på samme lagDirection Handles RetningshåndtagBrush Strokes Penselstrøgdiff --git a/crates/ui-egui/src/i18n/de.tsv b/crates/ui-egui/src/i18n/de.tsvindex c87b45d22..7ca638c7d 100644--- a/crates/ui-egui/src/i18n/de.tsv+++ b/crates/ui-egui/src/i18n/de.tsv@@ -3334,6 +3334,7 @@ effect Points PunkteTemplates… Vorlagen…Text Displayed in Cell: In der Zelle angezeigter Text:Text Export Options Textexportoptionen+ Text Fill & Stroke Color Flächen- und Konturfarbe des TextsText Fill Color Flächenfarbe des TextsText Import Options TextimportoptionenText Stroke Color Konturfarbe des Textsdiff --git a/crates/ui-egui/src/i18n/el.tsv b/crates/ui-egui/src/i18n/el.tsvindex 615e0e6ee..5af81bbb0 100644--- a/crates/ui-egui/src/i18n/el.tsv+++ b/crates/ui-egui/src/i18n/el.tsv@@ -3727,6 +3727,7 @@ digits Malayalam ΜαλαγιάλαμTemplates Folder Φάκελος προτύπωνText Displayed in Cell: Κείμενο που εμφανίζεται στο κελί:Text Export Options Επιλογές εξαγωγής κειμένου+ Text Fill & Stroke Color Χρώμα γεμίσματος και περιγράμματος κειμένουText Fill Color Χρώμα γεμίσματος κειμένουText Import Options Επιλογές εισαγωγής κειμένουText Stroke Color Χρώμα περιγράμματος κειμένουdiff --git a/crates/ui-egui/src/i18n/es.tsv b/crates/ui-egui/src/i18n/es.tsvindex c4d4a196b..0d65000e2 100644--- a/crates/ui-egui/src/i18n/es.tsv+++ b/crates/ui-egui/src/i18n/es.tsv@@ -3390,6 +3390,7 @@ digits Malayalam MalayálamTemplates… Plantillas…Text Displayed in Cell: Texto mostrado en la celda:Text Export Options Opciones de exportación de texto+ Text Fill & Stroke Color Color de relleno y trazo del textoText Fill Color Color de relleno del textoText Import Options Opciones de importación de textoText Stroke Color Color de trazo del textodiff --git a/crates/ui-egui/src/i18n/fi.tsv b/crates/ui-egui/src/i18n/fi.tsvindex 7d571168f..9dacd5899 100644--- a/crates/ui-egui/src/i18n/fi.tsv+++ b/crates/ui-egui/src/i18n/fi.tsv@@ -431,6 +431,7 @@Variable Font Muuttuva fonttiText Fill Color Tekstin täyttöväriText Stroke Color Tekstin viivan väri+ Text Fill & Stroke Color Tekstin täytön ja viivan väriAll on Same Layers Kaikki samoilla tasoillaDirection Handles SuuntakahvatBrush Strokes Sivellinviivatdiff --git a/crates/ui-egui/src/i18n/fr.tsv b/crates/ui-egui/src/i18n/fr.tsvindex 4372280db..9d2263a90 100644--- a/crates/ui-egui/src/i18n/fr.tsv+++ b/crates/ui-egui/src/i18n/fr.tsv@@ -3382,6 +3382,7 @@ digits Malayalam MalayalamTemplates… Modèles…Text Displayed in Cell: Texte affiché dans la cellule :Text Export Options Options d’exportation du texte+ Text Fill & Stroke Color Couleur de fond et de contour du texteText Fill Color Couleur de fond du texteText Import Options Options d’importation du texteText Stroke Color Couleur de contour du textediff --git a/crates/ui-egui/src/i18n/hu.tsv b/crates/ui-egui/src/i18n/hu.tsvindex 9890ecf5a..7658ebb64 100644--- a/crates/ui-egui/src/i18n/hu.tsv+++ b/crates/ui-egui/src/i18n/hu.tsv@@ -4043,6 +4043,7 @@ mark-style Japanese JapánText Displayed in Cell A cellában megjelenő szövegText Displayed in Cell: A cellában megjelenő szöveg:Text Export Options Szövegexportálási beállítások+ Text Fill & Stroke Color Szöveg kitöltő- és körvonalszíneText Fill Color Szöveg kitöltőszíneText Import Options Szövegimportálási beállításokText Stroke Color Szöveg körvonalszínediff --git a/crates/ui-egui/src/i18n/id.tsv b/crates/ui-egui/src/i18n/id.tsvindex d8ceeacad..8ebc69622 100644--- a/crates/ui-egui/src/i18n/id.tsv+++ b/crates/ui-egui/src/i18n/id.tsv@@ -393,6 +393,7 @@Variable Font Font variabelText Fill Color Warna isian teksText Stroke Color Warna stroke teks+ Text Fill & Stroke Color Warna isian & stroke teksAll on Same Layers Semua di lapisan yang samaDirection Handles Gagang arahBrush Strokes Sapuan kuasdiff --git a/crates/ui-egui/src/i18n/it.tsv b/crates/ui-egui/src/i18n/it.tsvindex 1f6ffb4cf..39f1632e5 100644--- a/crates/ui-egui/src/i18n/it.tsv+++ b/crates/ui-egui/src/i18n/it.tsv@@ -3426,6 +3426,7 @@ digits Malayalam MalayalamTemplates… Modelli…Text Displayed in Cell: Testo visualizzato nella cella:Text Export Options Opzioni di esportazione testo+ Text Fill & Stroke Color Colore riempimento e traccia testoText Fill Color Colore riempimento testoText Import Options Opzioni di importazione testoText Stroke Color Colore traccia testodiff --git a/crates/ui-egui/src/i18n/ja.tsv b/crates/ui-egui/src/i18n/ja.tsvindex 3d6849e46..ddf2f044b 100644--- a/crates/ui-egui/src/i18n/ja.tsv+++ b/crates/ui-egui/src/i18n/ja.tsv@@ -463,6 +463,7 @@ digits Malayalam マラヤーラム数字Variable Font バリアブルフォントText Fill Color テキストカラー (塗り)Text Stroke Color テキストカラー (線)+ Text Fill & Stroke Color テキストカラー (塗りと線)All on Same Layers 同じレイヤー上のすべてDirection Handles 方向線ハンドルBrush Strokes ブラシストロークdiff --git a/crates/ui-egui/src/i18n/ka.tsv b/crates/ui-egui/src/i18n/ka.tsvindex 1a01580e2..80b0a7476 100644--- a/crates/ui-egui/src/i18n/ka.tsv+++ b/crates/ui-egui/src/i18n/ka.tsv@@ -350,6 +350,7 @@Font Size შრიფტის ზომაText Fill Color ტექსტის შევსების ფერიText Stroke Color ტექსტის კონტურის ფერი+ Text Fill & Stroke Color ტექსტის შევსებისა და კონტურის ფერიAll on Same Layers ყველა იმავე შრეებზეDirection Handles მიმართულების სახელურებიBrush Strokes ფუნჯის შტრიხებიdiff --git a/crates/ui-egui/src/i18n/ko.tsv b/crates/ui-egui/src/i18n/ko.tsvindex 5f2441972..8e12b5f26 100644--- a/crates/ui-egui/src/i18n/ko.tsv+++ b/crates/ui-egui/src/i18n/ko.tsv@@ -456,6 +456,7 @@ digits Malayalam 말라얄람어Variable Font 가변 글꼴Text Fill Color 문자 칠 색상Text Stroke Color 문자 선 색상+ Text Fill & Stroke Color 문자 칠 및 선 색상All on Same Layers 같은 레이어의 모두Direction Handles 방향 핸들Brush Strokes 브러시 선diff --git a/crates/ui-egui/src/i18n/nl.tsv b/crates/ui-egui/src/i18n/nl.tsvindex d7ccca211..f2a970cbd 100644--- a/crates/ui-egui/src/i18n/nl.tsv+++ b/crates/ui-egui/src/i18n/nl.tsv@@ -407,6 +407,7 @@Variable Font Variabel lettertypeText Fill Color TekstvulkleurText Stroke Color Tekstcontourkleur+ Text Fill & Stroke Color Tekstvul- en contourkleurAll on Same Layers Alles op dezelfde lagenDirection Handles RichtingsgrepenBrush Strokes Penseelstrekendiff --git a/crates/ui-egui/src/i18n/pl.tsv b/crates/ui-egui/src/i18n/pl.tsvindex be0a2a24b..30ec4f06e 100644--- a/crates/ui-egui/src/i18n/pl.tsv+++ b/crates/ui-egui/src/i18n/pl.tsv@@ -394,6 +394,7 @@Variable Font Czcionka zmiennaText Fill Color Kolor wypełnienia tekstuText Stroke Color Kolor obrysu tekstu+ Text Fill & Stroke Color Kolor wypełnienia i obrysu tekstuAll on Same Layers Wszystko na tych samych warstwachDirection Handles Uchwyty kierunkoweBrush Strokes Pociągnięcia pędzladiff --git a/crates/ui-egui/src/i18n/pt-br.tsv b/crates/ui-egui/src/i18n/pt-br.tsvindex 2f07e5309..82104e63e 100644--- a/crates/ui-egui/src/i18n/pt-br.tsv+++ b/crates/ui-egui/src/i18n/pt-br.tsv@@ -2781,6 +2781,7 @@ digits Malayalam MalaialaTemplates… Modelos…Text Displayed in Cell: Texto Exibido na Célula:Text Export Options Opções de Exportação de Texto+ Text Fill & Stroke Color Cor de Preenchimento e Traçado do TextoText Fill Color Cor de Preenchimento do TextoText Import Options Opções de Importação de TextoText Stroke Color Cor do Traçado do Textodiff --git a/crates/ui-egui/src/i18n/ru.tsv b/crates/ui-egui/src/i18n/ru.tsvindex cb6cbd10b..a52c48603 100644--- a/crates/ui-egui/src/i18n/ru.tsv+++ b/crates/ui-egui/src/i18n/ru.tsv@@ -3421,6 +3421,7 @@ digits Malayalam МалаяламTemplates… Шаблоны…Text Displayed in Cell: Текст, отображаемый в ячейке:Text Export Options Параметры экспорта текста+ Text Fill & Stroke Color Цвет заливки и обводки текстаText Fill Color Цвет заливки текстаText Import Options Параметры импорта текстаText Stroke Color Цвет обводки текстаdiff --git a/crates/ui-egui/src/i18n/sv.tsv b/crates/ui-egui/src/i18n/sv.tsvindex b8cc54933..3f8be38fd 100644--- a/crates/ui-egui/src/i18n/sv.tsv+++ b/crates/ui-egui/src/i18n/sv.tsv@@ -3312,6 +3312,7 @@ digits Malayalam MalayalamTemplates… Mallar…Text Displayed in Cell: Text som visas i cellen:Text Export Options Alternativ för textexport+ Text Fill & Stroke Color Textens fyllnads- och konturfärgText Fill Color Textens fyllnadsfärgText Import Options Alternativ för textimportText Stroke Color Textens konturfärgdiff --git a/crates/ui-egui/src/i18n/tr.tsv b/crates/ui-egui/src/i18n/tr.tsvindex 9009af8ae..808e55ad9 100644--- a/crates/ui-egui/src/i18n/tr.tsv+++ b/crates/ui-egui/src/i18n/tr.tsv@@ -3205,6 +3205,7 @@ digits Malayalam MalayalamTemplates… Şablonlar…Text Displayed in Cell: Hücrede Görüntülenen Metin:Text Export Options Metin Dışa Aktarma Seçenekleri+ Text Fill & Stroke Color Metin Dolgu ve Kontur RengiText Fill Color Metin Dolgu RengiText Import Options Metin İçe Aktarma SeçenekleriText Stroke Color Metin Kontur Rengidiff --git a/crates/ui-egui/src/i18n/uk.tsv b/crates/ui-egui/src/i18n/uk.tsvindex 7535b5357..bda2cd278 100644--- a/crates/ui-egui/src/i18n/uk.tsv+++ b/crates/ui-egui/src/i18n/uk.tsv@@ -3419,6 +3419,7 @@ effect Points ТочкиTemplates… Шаблони…Text Displayed in Cell: Текст, що відображається в комірці:Text Export Options Параметри експорту тексту+ Text Fill & Stroke Color Колір заливки та обведення текстуText Fill Color Колір заливки текстуText Import Options Параметри імпорту текстуText Stroke Color Колір обведення текстуdiff --git a/crates/ui-egui/src/i18n/vi.tsv b/crates/ui-egui/src/i18n/vi.tsvindex 07852ac9f..4957824ea 100644--- a/crates/ui-egui/src/i18n/vi.tsv+++ b/crates/ui-egui/src/i18n/vi.tsv@@ -3748,6 +3748,7 @@ mark-style Japanese Kiểu NhậtText Văn bảnText Displayed in Cell: Văn bản hiển thị trong ô:Text Export Options Tùy chọn xuất văn bản+ Text Fill & Stroke Color Màu tô & nét văn bảnText Fill Color Màu tô văn bảnText Import Options Tùy chọn nhập văn bảnText Stroke Color Màu nét văn bảndiff --git a/crates/ui-egui/src/i18n/zh-hans.tsv b/crates/ui-egui/src/i18n/zh-hans.tsvindex d609725c4..b8123733f 100644--- a/crates/ui-egui/src/i18n/zh-hans.tsv+++ b/crates/ui-egui/src/i18n/zh-hans.tsv@@ -3258,6 +3258,7 @@ digits Malayalam 马拉雅拉姆数字Templates… 模板…Text Displayed in Cell: 单元格中显示的文字:Text Export Options 文本导出选项+ Text Fill & Stroke Color 文字填色和描边颜色Text Fill Color 文字填色Text Import Options 文本导入选项Text Stroke Color 文字描边颜色diff --git a/crates/ui-egui/src/i18n/zh-hant.tsv b/crates/ui-egui/src/i18n/zh-hant.tsvindex 32dbb3ba2..a8b514b8a 100644--- a/crates/ui-egui/src/i18n/zh-hant.tsv+++ b/crates/ui-egui/src/i18n/zh-hant.tsv@@ -4276,6 +4276,7 @@ digits Malayalam 馬來亞拉姆數字Templates… 範本…Text Displayed in Cell: 儲存格中顯示的文字:Text Export Options 文字匯出選項+ Text Fill & Stroke Color 文字填色與筆畫顏色Text Fill Color 文字填色Text Import Options 文字匯入選項Text Stroke Color 文字筆畫顏色diff --git a/crates/ui-egui/src/menus/tests.rs b/crates/ui-egui/src/menus/tests.rsindex 04769b2c6..4b46453ca 100644--- a/crates/ui-egui/src/menus/tests.rs+++ b/crates/ui-egui/src/menus/tests.rs@@ -527,6 +527,28 @@ fn select_same_link_block_series_selects_a_thread_from_the_menu() {assert_eq!(json!(ids), json!([a, b]));}+#[test]+fn select_same_text_fill_and_stroke_color_follows_text_stroke_color_in_the_menu() {+ let mut app = app_with_a_rectangle();+ let entries = menu_entries(&app);+ let at = |id: &str| entries.iter().position(|e| e.command.as_deref() == Some(id));+ let entry = at("select.same.textFillAndStrokeColor").map(|i| &entries[i]).expect("menu entry");+ assert_eq!((entry.path.clone(), entry.label.as_str()), (vec!["Select".to_string(), "Same".to_string()], "Text Fill & Stroke Color"));+ assert_eq!(at("select.same.textStrokeColor").map(|i| i + 1), at("select.same.textFillAndStrokeColor"));+ let text = |app: &mut VectorcraftApp, y: i32, fill: &str, stroke: &str| {+ let id = app.run("text.create", json!({"x": 0, "y": y, "text": "type"})).unwrap()["id"].clone();+ app.run("text.setRangeStyle", json!({"id": id.clone(), "start": 0, "end": 4, "fill": fill, "stroke": stroke})).unwrap();+ id+ };+ let a = text(&mut app, 40, "#ff0000", "#0000ff");+ let b = text(&mut app, 80, "#ff0000", "#0000ff");+ let _ = text(&mut app, 120, "#ff0000", "#00ff00");+ app.run("select.set", json!({"ids": [a.clone()]})).unwrap();+ invoke(&mut app, "select.same.textFillAndStrokeColor", json!({}));+ let ids: Vec<u64> = app.session.active().unwrap().selection.objects.iter().map(|i| i.0).collect();+ assert_eq!(json!(ids), json!([a, b]));+}+#[test]fn edit_selection_opens_its_dialog_on_the_saved_selections() {let mut app = app_with_a_rectangle();diff --git a/crates/ui-egui/src/menus/tree.rs b/crates/ui-egui/src/menus/tree.rsindex 9eabfc681..d197ee906 100644--- a/crates/ui-egui/src/menus/tree.rs+++ b/crates/ui-egui/src/menus/tree.rs@@ -470,6 +470,7 @@ pub fn menu_tree_named(english_names: bool) -> Vec<(&'static str, Vec<Item>)> {c("Font Size", "select.same.fontSize"),c("Text Fill Color", "select.same.textFillColor"),c("Text Stroke Color", "select.same.textStrokeColor"),+ c("Text Fill & Stroke Color", "select.same.textFillAndStrokeColor"),],),sub(diff --git a/docs/mcp.md b/docs/mcp.mdindex 07fbd7b55..2a7cd6824 100644--- a/docs/mcp.md+++ b/docs/mcp.md@@ -1431,6 +1431,13 @@ everything in it, and `select.all`, `select.allOnArtboard` and `select.inverse`among the objects beside it in its group or layer, passing over hidden and locked objects and sublayers. When thereis no such object, the selection stays as it is.+`select.same.textFillAndStrokeColor` (Select › Same › Text Fill & Stroke Color) selects the type objects that have+characters whose fill and stroke both match the first character of the first selected type, and returns `{count}`.+`select.same.textFillColor` and `select.same.textStrokeColor` compare the fill or the stroke alone. In type with+several runs, one run has to match both: type with the fill in one run and the stroke in another is left out. The fill+and stroke of other objects are not compared. Without type among the selected objects it returns the error "select a+text object", and it records no undo step.+## Shaper Groups`shaper.releaseSource {source, group?}` takes the original shape `source` out of its Shaper Group: the shape becomes adiff --git a/docs/target-app-parity.md b/docs/target-app-parity.mdindex 7e3241865..e946b2d4a 100644--- a/docs/target-app-parity.md+++ b/docs/target-app-parity.md@@ -891,6 +891,7 @@ Moved from the ROADMAP's "Shipped so far" on 2026-10-10. Update it when a featurObject › Rasterize on a frame of threaded text takes it out of the thread with the text it shows, which the image draws, and the other frames keep the text they hold. When the last frame is rasterized, the text it has no room for goes after the text of the last frame that stays.Type › Create Outlines, Object › Expand and Object › Expand Appearance on a frame of threaded text take it out of the thread with the text it shows, which the outlines draw, and the other frames keep the text they hold. When the last frame is outlined, the text it has no room for goes after the text of the last frame that stays. When Expand Appearance keeps the frame as type in a group with its shadow, outer glow or Crop Marks, the type stays in the thread. The public help on threads ([Create text threads between objects](https://helpx.adobe.com/illustrator/desktop/design-with-text/add-manage-text/create-text-threads-between-objects.html), [Remove or break text threads between objects](https://helpx.adobe.com/illustrator/desktop/design-with-text/add-manage-text/remove-or-break-text-threads-between-objects.html)) does not describe outlining a threaded frame; this handling is VectorCraft's own behavior.Select › Same › Link Block Series selects every frame of the threads of the selected type; type in no thread selects itself (`select.same.linkBlockSeries`). The menu entry is listed in [Select objects by characteristics](https://helpx.adobe.com/illustrator/desktop/manage-objects/select-objects/select-objects-by-characteristics.html); selecting several threads at once and type in no thread selecting itself are VectorCraft's own behavior.+ Select › Same › Text Fill & Stroke Color selects the type whose characters match both the fill and the stroke of the selected type (`select.same.textFillAndStrokeColor`). The menu entry is listed in [Select objects by characteristics](https://helpx.adobe.com/illustrator/desktop/manage-objects/select-objects/select-objects-by-characteristics.html); requiring one run of characters to match both is VectorCraft's own behavior.Object › Flatten Transparency takes a frame of threaded text out of the thread in the same way when Convert All Text to Outlines outlines it or when the frame becomes flat regions or an image, and the other frames keep the text they hold.New Symbol and Redefine Symbol on a frame of threaded text take it out of the thread with the text it shows, which the symbol's art holds, and the other frames keep the text they hold. When the last frame goes into the symbol, the text it has no room for goes after the text of the last frame that stays. When every frame of a thread goes into the symbol, the copy of the last frame keeps all its text.With Optical Margin Alignment on, or Roman Hanging Punctuation on in the first paragraph, the glyphs at the ends of left-to-right type on a path hang outside its brackets, measured along the path. The type hangs at the start bracket when its line is placed there, hangs at the end bracket when the line is placed there, and hangs at both when it is centered. Glyphs that hang past the end bracket do not make the type overflow, and a hang stops at an open path's end. SVG export writes such type as outlines.