diff --git a/crates/engine/src/cmd/create.rs b/crates/engine/src/cmd/create.rs index 53c87235..89f9e12c 100644 --- a/crates/engine/src/cmd/create.rs +++ b/crates/engine/src/cmd/create.rs @@ -447,8 +447,7 @@ fn text_create(s: &mut Session, p: &Value) -> Result { /// The paragraph attributes new type gets (the Type tools, `text.create`): aligned to the start of /// each paragraph's direction (left, right for Hebrew and Arabic), Japanese punctuation composed -/// with Line-end Punctuation Half Width and Standard burasagari (as in Illustrator). Imported text -/// keeps its own. +/// with Line-end Punctuation Half Width and Standard burasagari. Imported text keeps its own. pub(crate) fn new_type_para() -> vectorcraft_doc::ParaStyle { vectorcraft_doc::ParaStyle { justify: vectorcraft_doc::Justify::Auto, diff --git a/crates/engine/src/cmd/typecmd.rs b/crates/engine/src/cmd/typecmd.rs index 6062781a..51dca2c3 100644 --- a/crates/engine/src/cmd/typecmd.rs +++ b/crates/engine/src/cmd/typecmd.rs @@ -629,7 +629,7 @@ mod area_tests { NodeKind::Text(t) => t.para.clone(), _ => panic!("text"), }; - // New type: Standard, as in Illustrator. + // New type: Standard. assert_eq!(para(&s).burasagari, Burasagari::Standard); s.execute("select.set", &json!({"ids": [id]})).unwrap(); assert!(s.execute("text.setFormat", &json!({"burasagari": "strong"})).is_err());