DesignCraft: An open-source page and layout design editor written by scratch in pure Rust
Merge track 2 (Direct Selection stack)
aiongg9806f66fed1c
diff --cc ROADMAP.mdindex 5aa34b1b3,bcae28601..23aac7616--- a/ROADMAP.md+++ b/ROADMAP.md@@@ -494,7 -491,8 +495,9 @@@ Newest first- **2026-10-20** · Drawing a frame or shape shows its width and height in the document's ruler units, to two decimals and on two lines ("W: 6.08 cm", "H: 6.08 cm"), as InDesign does; it was always whole points. No readiness percentage change.- **2026-10-20** · Type tool: a drag that starts in an empty frame draws a new text frame over it, as in InDesign; a click still turns the frame into a text frame. No readiness percentage change.- **2026-10-20** · Measures in centimetres show four decimals, as InDesign's fields do (a 1p gutter reads 0.4233 cm, not 0.423 cm). No readiness percentage change.+- **2026-10-21** · Text Frame Options is laid out as InDesign's, with Preview: General, Column Rules, Baseline Options, Auto-Size; framed Columns (Number and Width, Gutter and Maximum, Balance Columns), Inset Spacing (Top/Bottom, the link, Left/Right) and Vertical Justification (Align, Paragraph Spacing Limit) with spinner fields; Fixed Number shows each column's width as the fields change. Preview shows the change on the page until OK (one undo step) or Cancel. Justify honours the Paragraph Spacing Limit (`paragraphSpacingLimit` on `object.textFrameOptions`): the space goes between paragraphs up to the limit, the rest between lines. Found in the Learn Skills Daily course, chapter 18. No readiness percentage change.+ - **2026-10-21** · Properties for points selected with Direct Selection, as InDesign's: the title is "Anchor Point(s)", and the panel shows Transform, Appearance, Convert Points (Plain, Corner, Smooth, Symmetrical) and the Delete Point(s) quick action (`path.deletePoints`, one undo step). Found in Zero2Graphic's *How to Page Layout design in Adobe InDesign 2022 CC*. No readiness percentage change.+ - **2026-10-20** · Direct Selection selects anchor points: a marquee selects the points inside it on every path it reaches, a click selects one point and Shift+click adds or removes one, selected points show solid, and dragging one (Shift: at 45° steps) or pressing the arrow keys moves them all in one step (`selection.set {anchors}`, `path.moveAnchors {points}`). No readiness percentage change.- **2026-10-21** · Properties › Character and Paragraph: ••• (More Options) expands the section in place, as InDesign's: Character adds vertical and horizontal scale, baseline shift, skew, language and OpenType, and All Caps, Small Caps, Superscript, Subscript, Underline and Strikethrough; Paragraph adds the left, right, first line and last line indents, space before and after, the drop cap's lines and characters, Align to Baseline Grid and Hyphenate. It used to open the Character or Paragraph panel; the language field moved under ••• as in InDesign. Found in the Learn Skills Daily course, chapter 16. No readiness percentage change.- **2026-10-21** · The text Control panel has InDesign's two modes: A (Character Formatting Controls: font and style, size and leading, All Caps/Superscript/Underline and Small Caps/Subscript/Strikethrough, kerning and tracking, vertical and horizontal scale, baseline shift and skew, character style and language) and ¶ (Paragraph Formatting Controls: the nine alignments, left/first line and right/last line indents, space before and after, the drop cap's lines and characters, paragraph style, Hyphenate and Align to Baseline Grid). It used to show a fixed mix of both. Found in the Learn Skills Daily course, chapter 16. No readiness percentage change.- **2026-10-20** · With the Type tool, the Control panel's font size, leading and tracking fields have a spinner and a list of common values, as in InDesign (auto leading in parentheses). No readiness percentage change.diff --cc crates/ui-egui/src/i18n/ar.rsindex 38ce0ed60,5ac1724b8..a008abb88--- a/crates/ui-egui/src/i18n/ar.rs+++ b/crates/ui-egui/src/i18n/ar.rs@@@ -74,13 -66,9 +74,16 @@@ pub(super) const TABLE: &[(&str, &str)("New Section", "قسم جديد"),("Clear Frame Fitting Options", "مسح خيارات ملاءمة الإطار"),("Cannot be edited", "غير قابل للتحرير"),+ ("Maximum:", "الحد الأقصى:"),+ ("Paragraph Spacing Limit:", "حد تباعد الفقرات:"),+ ("Overprint", "طباعة فوقية"),+ ("Top Left Corner", "الزاوية العلوية اليسرى"),+ ("Top Right Corner", "الزاوية العلوية اليمنى"),+ ("Bottom Left Corner", "الزاوية السفلية اليسرى"),+ ("Bottom Right Corner", "الزاوية السفلية اليمنى"),+ ("Anchor Point(s)", "نقطة (نقاط) الارتكاز"),+ ("Convert Points", "تحويل النقاط"),+ ("Delete Point(s)", "حذف النقطة (النقاط)"),("Restart Numbering", "إعادة الترقيم"),("Continue Numbering", "متابعة الترقيم"),("Keep Options…", "خيارات الإبقاء…"),diff --cc crates/ui-egui/src/i18n/cs.rsindex 4aa6a5bbe,1831f6294..8735bf1fb--- a/crates/ui-egui/src/i18n/cs.rs+++ b/crates/ui-egui/src/i18n/cs.rs@@@ -79,13 -71,9 +79,16 @@@ pub(super) const TABLE: &[(&str, &str)("New Section", "Nový oddíl"),("Clear Frame Fitting Options", "Vymazat volby přizpůsobení rámečku"),("Cannot be edited", "Nelze upravit"),+ ("Maximum:", "Maximum:"),+ ("Paragraph Spacing Limit:", "Limit mezer mezi odstavci:"),+ ("Overprint", "Přetisk"),+ ("Top Left Corner", "Levý horní roh"),+ ("Top Right Corner", "Pravý horní roh"),+ ("Bottom Left Corner", "Levý dolní roh"),+ ("Bottom Right Corner", "Pravý dolní roh"),+ ("Anchor Point(s)", "Kotevní body"),+ ("Convert Points", "Převést body"),+ ("Delete Point(s)", "Odstranit body"),("Restart Numbering", "Začít číslování znovu"),("Continue Numbering", "Pokračovat v číslování"),("Keep Options…", "Volby zachování…"),diff --cc crates/ui-egui/src/i18n/de.rsindex dce19904b,0e5e3b54d..331fac735--- a/crates/ui-egui/src/i18n/de.rs+++ b/crates/ui-egui/src/i18n/de.rs@@@ -42,11 -42,9 +42,14 @@@ pub(super) const TABLE: &[(&str, &str)("New Section", "Neuer Abschnitt"),("Clear Frame Fitting Options", "Rahmeneinpassungsoptionen löschen"),("Cannot be edited", "Nicht bearbeitbar"),+ ("Overprint", "Überdrucken"),+ ("Top Left Corner", "Ecke oben links"),+ ("Top Right Corner", "Ecke oben rechts"),+ ("Bottom Left Corner", "Ecke unten links"),+ ("Bottom Right Corner", "Ecke unten rechts"),+ ("Anchor Point(s)", "Ankerpunkt(e)"),+ ("Convert Points", "Punkte konvertieren"),+ ("Delete Point(s)", "Punkt(e) löschen"),("Restart Numbering", "Nummerierung neu beginnen"),("Continue Numbering", "Nummerierung fortführen"),("Keep Options…", "Umbruchoptionen …"),diff --cc crates/ui-egui/src/i18n/it.rsindex 4b9e1aae9,4a68cd9c5..608779f21--- a/crates/ui-egui/src/i18n/it.rs+++ b/crates/ui-egui/src/i18n/it.rs@@@ -73,13 -65,9 +73,16 @@@ pub(super) const TABLE: &[(&str, &str)("New Section", "Nuova sezione"),("Clear Frame Fitting Options", "Cancella opzioni di adattamento cornice"),("Cannot be edited", "Non modificabile"),+ ("Maximum:", "Massimo:"),+ ("Paragraph Spacing Limit:", "Limite spaziatura paragrafo:"),+ ("Overprint", "Sovrastampa"),+ ("Top Left Corner", "Angolo superiore sinistro"),+ ("Top Right Corner", "Angolo superiore destro"),+ ("Bottom Left Corner", "Angolo inferiore sinistro"),+ ("Bottom Right Corner", "Angolo inferiore destro"),+ ("Anchor Point(s)", "Punti di ancoraggio"),+ ("Convert Points", "Converti punti"),+ ("Delete Point(s)", "Elimina punti"),("Restart Numbering", "Riavvia numerazione"),("Continue Numbering", "Continua numerazione"),("Keep Options…", "Opzioni di separazione…"),diff --cc crates/ui-egui/src/i18n/ja.rsindex ff11e1da6,4f4b7ec1b..44f0f6ca9--- a/crates/ui-egui/src/i18n/ja.rs+++ b/crates/ui-egui/src/i18n/ja.rs@@@ -39,11 -39,9 +39,14 @@@ pub(super) const TABLE: &[(&str, &str)("New Section", "新規セクション"),("Clear Frame Fitting Options", "フレーム調整オプションを消去"),("Cannot be edited", "編集不可"),+ ("Overprint", "オーバープリント"),+ ("Top Left Corner", "左上角"),+ ("Top Right Corner", "右上角"),+ ("Bottom Left Corner", "左下角"),+ ("Bottom Right Corner", "右下角"),+ ("Anchor Point(s)", "アンカーポイント"),+ ("Convert Points", "ポイントを変換"),+ ("Delete Point(s)", "ポイントを削除"),("Restart Numbering", "番号の振り直し"),("Continue Numbering", "番号の継続"),("Keep Options…", "段落分離禁止オプション…"),diff --cc crates/ui-egui/src/i18n/ka.rsindex cc1ac3fe2,96869cc86..22ead3bac--- a/crates/ui-egui/src/i18n/ka.rs+++ b/crates/ui-egui/src/i18n/ka.rs@@@ -73,13 -65,9 +73,16 @@@ pub(super) const TABLE: &[(&str, &str)("New Section", "ახალი სექცია"),("Clear Frame Fitting Options", "ჩარჩოს მორგების პარამეტრების გასუფთავება"),("Cannot be edited", "რედაქტირება შეუძლებელია"),+ ("Maximum:", "მაქსიმუმი:"),+ ("Paragraph Spacing Limit:", "აბზაცებს შორის ინტერვალის ზღვარი:"),+ ("Overprint", "ზედაბეჭდვა"),+ ("Top Left Corner", "ზედა მარცხენა კუთხე"),+ ("Top Right Corner", "ზედა მარჯვენა კუთხე"),+ ("Bottom Left Corner", "ქვედა მარცხენა კუთხე"),+ ("Bottom Right Corner", "ქვედა მარჯვენა კუთხე"),+ ("Anchor Point(s)", "საყრდენი წერტილ(ებ)ი"),+ ("Convert Points", "წერტილების გარდაქმნა"),+ ("Delete Point(s)", "წერტილ(ებ)ის წაშლა"),("Restart Numbering", "ნუმერაციის თავიდან დაწყება"),("Continue Numbering", "ნუმერაციის გაგრძელება"),("Keep Options…", "შენარჩუნების პარამეტრები…"),diff --cc crates/ui-egui/src/i18n/pl.rsindex 2c3a7109f,3aca646da..820f43d66--- a/crates/ui-egui/src/i18n/pl.rs+++ b/crates/ui-egui/src/i18n/pl.rs@@@ -77,13 -69,9 +77,16 @@@ pub(super) const TABLE: &[(&str, &str)("New Section", "Nowa sekcja"),("Clear Frame Fitting Options", "Wyczyść opcje dopasowania ramki"),("Cannot be edited", "Nie można edytować"),+ ("Maximum:", "Maksimum:"),+ ("Paragraph Spacing Limit:", "Limit odstępu akapitów:"),+ ("Overprint", "Nadruk"),+ ("Top Left Corner", "Lewy górny narożnik"),+ ("Top Right Corner", "Prawy górny narożnik"),+ ("Bottom Left Corner", "Lewy dolny narożnik"),+ ("Bottom Right Corner", "Prawy dolny narożnik"),+ ("Anchor Point(s)", "Punkty kontrolne"),+ ("Convert Points", "Konwertuj punkty"),+ ("Delete Point(s)", "Usuń punkty"),("Restart Numbering", "Zacznij numerowanie od nowa"),("Continue Numbering", "Kontynuuj numerowanie"),("Keep Options…", "Opcje utrzymywania…"),diff --cc crates/ui-egui/src/i18n/pt_br.rsindex b9aa37e27,302829f14..4cf5e876d--- a/crates/ui-egui/src/i18n/pt_br.rs+++ b/crates/ui-egui/src/i18n/pt_br.rs@@@ -76,13 -68,9 +76,16 @@@ pub(super) const TABLE: &[(&str, &str)("New Section", "Nova seção"),("Clear Frame Fitting Options", "Limpar opções de ajuste do quadro"),("Cannot be edited", "Não editável"),+ ("Maximum:", "Máximo:"),+ ("Paragraph Spacing Limit:", "Limite de espaçamento de parágrafo:"),+ ("Overprint", "Superimprimir"),+ ("Top Left Corner", "Canto superior esquerdo"),+ ("Top Right Corner", "Canto superior direito"),+ ("Bottom Left Corner", "Canto inferior esquerdo"),+ ("Bottom Right Corner", "Canto inferior direito"),+ ("Anchor Point(s)", "Ponto(s) de ancoragem"),+ ("Convert Points", "Converter pontos"),+ ("Delete Point(s)", "Excluir ponto(s)"),("Restart Numbering", "Reiniciar numeração"),("Continue Numbering", "Continuar numeração"),("Keep Options…", "Opções de manutenção…"),diff --cc crates/ui-egui/src/i18n/ru.rsindex 0d181cfeb,f89a46a42..f26062605--- a/crates/ui-egui/src/i18n/ru.rs+++ b/crates/ui-egui/src/i18n/ru.rs@@@ -81,13 -73,9 +81,16 @@@ pub(super) const TABLE: &[(&str, &str)("New Section", "Новый раздел"),("Clear Frame Fitting Options", "Очистить параметры подгонки фрейма"),("Cannot be edited", "Нельзя изменить"),+ ("Maximum:", "Максимум:"),+ ("Paragraph Spacing Limit:", "Предел интервала абзацев:"),+ ("Overprint", "Наложение"),+ ("Top Left Corner", "Левый верхний угол"),+ ("Top Right Corner", "Правый верхний угол"),+ ("Bottom Left Corner", "Левый нижний угол"),+ ("Bottom Right Corner", "Правый нижний угол"),+ ("Anchor Point(s)", "Опорные точки"),+ ("Convert Points", "Преобразовать точки"),+ ("Delete Point(s)", "Удалить точки"),("Restart Numbering", "Начать нумерацию заново"),("Continue Numbering", "Продолжить нумерацию"),("Keep Options…", "Параметры удержания…"),diff --cc crates/ui-egui/src/i18n/uk.rsindex a1e02ecc1,8aa4773ec..d241eab9b--- a/crates/ui-egui/src/i18n/uk.rs+++ b/crates/ui-egui/src/i18n/uk.rs@@@ -74,13 -66,9 +74,16 @@@ pub(super) const TABLE: &[(&str, &str)("New Section", "Новий розділ"),("Clear Frame Fitting Options", "Очистити параметри припасування фрейму"),("Cannot be edited", "Не можна змінити"),+ ("Maximum:", "Максимум:"),+ ("Paragraph Spacing Limit:", "Межа інтервалу абзаців:"),+ ("Overprint", "Накладання"),+ ("Top Left Corner", "Лівий верхній кут"),+ ("Top Right Corner", "Правий верхній кут"),+ ("Bottom Left Corner", "Лівий нижній кут"),+ ("Bottom Right Corner", "Правий нижній кут"),+ ("Anchor Point(s)", "Опорні точки"),+ ("Convert Points", "Перетворити точки"),+ ("Delete Point(s)", "Видалити точки"),("Restart Numbering", "Почати нумерацію знову"),("Continue Numbering", "Продовжити нумерацію"),("Keep Options…", "Параметри утримання…"),diff --cc crates/ui-egui/src/panels/properties.rsindex d946fa190,6dcc0a967..a9f3b4f67--- a/crates/ui-egui/src/panels/properties.rs+++ b/crates/ui-egui/src/panels/properties.rs@@@ -30,12 -30,12 +30,12 @@@ pub use flex::flex_paneluse flex::flex_section;pub(crate) use links::run_update_links;pub use links::{info_panel, links_panel, preflight_panel, update_links};-use object::{align_row, appearance_section, guide_section, quick_actions_object, transform_section, wrap_section};#[cfg(test)]-use object::{align_to_icon, preview_row};-pub(crate) use object::{corner_shape_button, corner_type_dropdown, ref_point_proxy, stroke_type_dropdown};+use object::align_to_icon;+use object::{align_row, appearance_section, guide_section, quick_actions_object, transform_section, wrap_section};+pub(crate) use object::{corner_shape_button, corner_type_dropdown, paint_corner_shape, preview_row, ref_point_proxy, stroke_type_dropdown};- use object_panels::pathfinder_row;pub use object_panels::{align_panel, attributes_panel, effects_panel, pathfinder_panel, stroke_panel, wrap_panel};+ use object_panels::{anchor_point_sections, pathfinder_row};pub(crate) use text::{LANGUAGES, kerning_control, language_menu};use text::{bullets_section, character_section, paragraph_section, quick_actions_text, text_appearance_section, text_frame_section, text_style_section,