DesignCraft: An open-source page and layout design editor written by scratch in pure Rust
Merge fill-stroke-keys: Engine: swap and default fill and stroke in one undo step
aiongg1ebefe4db408
diff --cc ROADMAP.mdindex 0d4cc3a5e,4dd17e470..c1d16dd7e--- a/ROADMAP.md+++ b/ROADMAP.md@@@ -128,61 -129,12 +128,62 @@@ list) · [roadmap.md](docs/roadmap.md)Newest first.+ - **2026-10-12** · The Tools panel's Fill/Stroke keys work: D (default fill and stroke), X (fill or stroke in front), Shift+X (swap per object, tints included) and / (Apply None), as `color.*` commands; swap and default are one undo step (`object.swapFillStroke`, `object.defaultFillStroke`); the Color panel follows the proxy's fill/stroke choice. No readiness percentage change.+- **2026-10-12** · With a placed graphic selected (Direct Selection), the Transform values act on the graphic inside its frame, as in InDesign: a tilted frame's image can be straightened to 0°. No readiness percentage change.+- **2026-10-11** · Font menu laid out like InDesign's: filters (classification, favourites,+ recently added), families opening to their styles, the selected text as the sample in three+ sizes, Recently Used fonts, Show Similar Fonts and each font's format.+- **2026-10-12** · The Effects panel shows the level its settings apply to ("Group: Color Dodge 100%") and, as in InDesign, Isolate Blending and Knockout Group for a selected group. No readiness percentage change.+- **2026-10-12** · Edit › Step and Repeat has its InDesign dialog: Repeat (Count, or Rows and Columns with Create as a grid), Offset (Vertical, Horizontal, in ruler units) and Preview, which shows the copies while the dialog is open; Cancel takes them away and OK makes them as one undo step. No readiness percentage change.+- **2026-10-12** · Load Styles: the Paragraph Styles and Character Styles panels load styles from another DesignCraft document or an IDML file, with the styles, swatches and lists they name; a dialog picks the styles and what happens to one the document defines differently (`style.load`). No readiness percentage change.+- **2026-10-12** · On screen, blend modes blend with the objects below and not with the paper, as in InDesign and in PDF export: a Color Dodge or Screen object over blank paper shows as it is. No readiness percentage change.+- **2026-10-12** · Text threads by hand: click a selected text frame's in or out port to load+ the text cursor, then click a frame to thread it, click empty space for a column-wide frame or+ drag one (it snaps like frame drawing); Shift-click autoflows, Alt-click stays loaded on the+ frame just added; click the linked frame or double-click a port to break the thread.+ `text.thread`, `text.unthread`, `text.removeFromThread` with undo; locked frames and layers+ refuse threads. The alpha gate now waits only on the Primary Text Frame page fixes (#165). No+ readiness percentage change.+- **2026-10-12** · Properties › Transform shows rotation, shear and X/Y scale, and Rotate 90° and Flip Horizontal/Vertical buttons, as InDesign's does. No readiness percentage change.+- **2026-10-12** · Underlines and strikethroughs are drawn as one bar per stretch of text on screen, as in PDF export: a bar per letter left faint seams between the letters. No readiness percentage change.+- **2026-10-12** · The section marker character shows its section's marker text on document pages (nothing when the section has none) instead of the word "Section", which stays on parent pages; editing the marker recomposes (#556). No readiness percentage change.+- **2026-10-12** · IDML import keeps a font family name exactly as written, trailing spaces included, and font lookup falls back to the name without surrounding spaces; `FontStyle="Nothing"` leaves the style to the paragraph (#558). No readiness percentage change.+- **2026-10-12** · Clipping paths saved with images in IDML (Detect Edges, Alpha Channel, Photoshop Path, User-Modified Path, inverted or not) clip the image on screen and in PDF and survive IDML export; `object.clippingPathOptions` reports, inverts or removes one (#450). No readiness percentage change.+- **2026-10-12** · Anchored objects with text wrap push text aside: other stories' text under them and the lines of their own story after the anchor's line (#557). No readiness percentage change.+- **2026-10-12** · Hyphenation Zone applies to the Single-line Composer only, as in InDesign. With the default Paragraph Composer, ragged text hyphenates where InDesign does (aper-natem), giving the same line breaks. No readiness percentage change.- **2026-10-12** · Words in capitals hyphenate like capitalized words (FERRUM COM-MODI), as in InDesign; Hyphenate Capitalized Words off keeps them whole. No readiness percentage change.+- **2026-10-12** · Load Swatches refuses an `.ase` file with more than 100,000 colors, and `swatch.load` merges a file of 100,000 colors in under 0.1 s (it took 9.6 s of CPU in a test build). No readiness percentage change.+- **2026-10-11 (printing):** `file.printers` and `file.print` use craft-libs/craft-print for CUPS and Windows. DesignCraft retains PDF export, page selection, spreads, marks and bleed; dry runs create no temporary PDF or print job. Windows selects matching or default driver paper and shrinks oversized sheets without enlarging smaller ones; queue duplex defaults are preserved. Headless tests exercise exported bytes, job settings, dry runs and refusals; shared native Windows CI passes, including paused-queue submission and cleanup. PostScript, production print controls and physical output validation remain open. No readiness percentage change.+- **2026-10-11** · The View menu follows InDesign's: proofing first, then zoom, Rotate Spread, Screen Mode, Display Performance, rulers, Extras, Grids & Guides and Structure; the view items that sat at the end of the Type menu moved there. No readiness percentage change.+- **2026-10-11** · Properties › Appearance's Fill and Stroke menus gain InDesign's Tint field and, for a text frame, Apply To: Frame / Text. No readiness percentage change.+- **2026-10-11** · `story.replaceRange`, `story.setText`, notes, footnotes, endnotes, type on a path and table cells read `\r` and `\r\n` as paragraph returns, as `frame.create` and `text.insert` already did. No readiness percentage change.+- **2026-10-11** · Corner Options keep curved sides curved and round every corner point, including where an arc meets a line (a Pathfinder quarter circle with rounded corners stayed a triangle). No readiness percentage change.+- **2026-10-11:** Type › Justification… (Cmd+Alt+Shift+J, also in the Paragraph panel menu) sets word and letter spacing, glyph scaling and the composer on the selected paragraphs, sharing the Paragraph Style Options section (#531). No readiness percentage change.+- **2026-10-11** · Properties gains InDesign's Pathfinder section (Add, Subtract, Intersect, Exclude Overlap, Minus Back) with several objects selected; section titles and icon buttons have accessible names. No readiness percentage change.- **2026-10-11** · `transform.move {copy}`, Edit › Duplicate and Step and Repeat return the copies' ids, so a script can go on with them. No readiness percentage change.- **2026-10-11** · `object.fill` and `object.stroke` refuse a swatch name the document doesn't have (it painted nothing) and suggest the name meant (`Paper` → `[Paper]`). No readiness percentage change.-- **2026-10-11 (printing):** `file.printers` and `file.print` use craft-libs/craft-print for CUPS and Windows. DesignCraft retains PDF export, page selection, spreads, marks and bleed; dry runs create no temporary PDF or print job. Windows selects matching or default driver paper and shrinks oversized sheets without enlarging smaller ones; queue duplex defaults are preserved. Headless tests exercise exported bytes, job settings, dry runs and refusals; shared native Windows CI passes, including paused-queue submission and cleanup. PostScript, production print controls and physical output validation remain open. No readiness percentage change.-+- **2026-10-11** · Japanese captions now cover print ranges, imported style handling and table+ row/column movement, including row-height distribution. Existing translation and RTL helpers+ handle the display; command IDs, stored option values and user-defined style names are unchanged.+- **2026-10-11** · Moving a sheared and rotated text frame no longer leaves trails of text behind: canvas repaints cover the frame's whole text box, not just its outline. No readiness percentage change.+- **2026-10-11** · Live corners: the yellow widget on a selected rectangle frame shows corner+ diamonds; dragging one rounds the corners, Alt-click steps the corner shape (#186).+- **2026-10-11** · Optical kerning (#181): pairs are spaced from their outlines (ink gap per band,+ pulled towards the font's stem gap, bounded) instead of silently using the font's kern pairs.+- **2026-10-11** · New Document laid out like InDesign's (#325): Recent, Saved, Print, Web and+ Mobile preset tabs beside the preset's details; saved document presets live in the engine+ (`file.savePreset`, `file.deletePreset`, `file.new {preset}`); `file.new` takes intent, units,+ start page and per-edge bleed and slug.+- **2026-10-11** · macOS: fonts that font services and managers activate (Adobe Fonts,+ RightFont) are listed, read from the files CoreText has available (#261, #327).+- **2026-10-11:** Document pages take their parent page's margins and columns (left or right parent page by side) and follow its changes unless they have their own; parent ruler guides draw and snap on the pages based on it. IDML import marks a page margin preference that differs from its parent as the page's own. No readiness percentage change.+- **2026-10-11** · Document Setup laid out like InDesign's: Page Size, Margins (new: every+ page's, `layout.documentSetup {margins}`), Bleed and Slug with links, Adjust Layout.+- **2026-10-11** · IDML reads and writes a spread's view rotation (Rotate Spread) as the+ rotation part of the spread transform (#484).+- **2026-10-11** · The document grid is drawn (View ▸ Grids & Guides ▸ Show/Hide Document Grid,+ ⌘'), on the lines Snap to Document Grid uses, behind or in front of page items (#530).+- **2026-10-12** · Double-clicking the Fill or Stroke box in the Tools panel opens the Color Picker with the selection's colour, as in InDesign (it opened the Swatches panel). No readiness percentage change.- **2026-10-10 (UI.4–UI.5):** Panel tabs can move into other groups, split the dock, float, resize and return to their saved locations through shared docking transactions. Layouts persist in custom workspaces; UI and control commands share the same validated action path. Shared pane geometry and widget-state theme application retain all five palettes and local fonts. Split panes send keyboard input only to the focused canvas and scope contextual toolbar IDs per pane. No readiness percentage change.- **2026-10-10** · Version 0.6.0; releases add a Linux riscv64 tar.gz (cross-compiled, CLIsmoke-tested under QEMU).diff --cc crates/engine/src/cmd/object.rsindex 34ebd72ed,699247291..4a9f6a0ac--- a/crates/engine/src/cmd/object.rs+++ b/crates/engine/src/cmd/object.rs@@@ -180,34 -179,30 +180,52 @@@ pub fn specs() -> Vec<CommandSpec>)}),- cmd!("object.fill", "Fill", [], None, "{swatch (a swatch's name, e.g. [Paper]), tint?: 0..1, ids?}", has_selection, |s, p| {- let sw = str_param(p, "swatch").ok_or_else(|| bad("object.fill", "missing swatch"))?.to_string();- known_swatch(&s.doc()?.doc, &sw, "object.fill", "swatch")?;- let tint = f64_or(p, "tint", 1.0) as f32;- set_flag(s, p, move |i| i.fill = Fill { swatch: sw.clone(), tint, ..i.fill.clone() }, false)- }),+ cmd!(+ "object.fill",+ "Fill",+ [],+ None,+ "{swatch? (a swatch's name, e.g. [Paper]), tint?: 0..1, ids?} — a swatch (tint 100% unless given), or a tint alone that keeps each object's swatch",+ has_selection,+ |s, p| {+ let sw = str_param(p, "swatch").map(str::to_string);+ let tint = p.get("tint").and_then(Value::as_f64).filter(|t| t.is_finite()).map(|t| t.clamp(0.0, 1.0) as f32);+ if sw.is_none() && tint.is_none() {+ return Err(bad("object.fill", "missing swatch"));+ }+ if let Some(n) = &sw {+ known_swatch(&s.doc()?.doc, n, "object.fill", "swatch")?;+ }+ set_flag(+ s,+ p,+ move |i| {+ let swatch = sw.clone().unwrap_or_else(|| i.fill.swatch.clone());+ let tint = tint.unwrap_or(if sw.is_some() { 1.0 } else { i.fill.tint });+ i.fill = Fill { swatch, tint, ..i.fill.clone() };+ },+ false,+ )+ }+ ),+ cmd!(+ "object.swapFillStroke",+ "Swap Fill and Stroke",+ [],+ None,+ "{ids?} — each object's fill and stroke colours (and tints) trade places; locked objects stay as they are",+ has_editable_selection,+ |s, p| edit_unlocked(s, p, swap_fill_stroke)+ ),+ cmd!(+ "object.defaultFillStroke",+ "Default Fill and Stroke",+ [],+ None,+ "{ids?} — no fill and a black stroke; locked objects stay as they are",+ has_editable_selection,+ |s, p| edit_unlocked(s, p, default_fill_stroke)+ ),cmd!("object.stroke","Stroke",diff --cc crates/ui-egui/src/lib.rsindex 0070a8fd2,ce8e439e3..bdfe2e0f5--- a/crates/ui-egui/src/lib.rs+++ b/crates/ui-egui/src/lib.rs@@@ -306,9 -287,10 +306,13 @@@ pub struct UiStatepub palette: Option<String>,#[serde(skip)]pub flyout: Option<usize>,+ /// Type › Tabs: the selected stop and where the panel sits.+ #[serde(skip)]+ pub tabs_panel: panels::tabs::PanelState,+ /// Fill/Stroke proxy (Tools and Color panels): the stroke is in front, so Apply None and the+ /// Color panel act on it (X toggles).+ #[serde(skip)]+ pub stroke_front: bool,}impl Default for UiState {@@@ -389,7 -366,7 +393,8 @@@dialog: None,palette: None,flyout: None,+ tabs_panel: Default::default(),+ stroke_front: false,}}}diff --cc crates/ui-egui/src/menus.rsindex 9a8013c1a,b614467e4..9c1c04ac7--- a/crates/ui-egui/src/menus.rs+++ b/crates/ui-egui/src/menus.rs@@@ -125,18 -85,20 +125,32 @@@ pub const UI_COMMANDS: &[(&str, &str, O("view.zoom", "Zoom To", None, "{zoom: 1.0 = 100%}"),("view.screenMode", "Screen Mode", None, "{mode: normal|preview|bleed|slug|presentation}"),("view.togglePreview", "Toggle Normal/Preview", Some("W"), "{}"),+ (+ "view.togglePresentation",+ "Toggle Presentation",+ Some("Shift+W"),+ "{} — enters Presentation, or returns to the mode it was entered from; Esc also leaves it",+ ),+ (+ "app.formattingAffectsText",+ "Formatting Affects Text",+ Some("J"),+ "{on?: bool} — with text frames selected, colours go to their text (on) or the frames (off); toggles without `on`",+ ),+ (+ "color.defaultFillStroke",+ "Default Fill and Stroke",+ Some("D"),+ "{} — the selection gets no fill and a black stroke (object.defaultFillStroke)",+ ),+ (+ "color.swapFillStroke",+ "Swap Fill and Stroke",+ Some("Shift+X"),+ "{} — each selected object's fill and stroke colours (and tints) trade places (object.swapFillStroke)",+ ),+ ("color.toggleFillStroke", "Toggle Fill and Stroke", Some("X"), "{} → {strokeFront} — which of fill and stroke the proxy has in front"),+ ("color.applyNone", "Apply None", Some("/"), "{} — [None] for the fill or stroke in front of the proxy"),("view.frameEdges", "Show/Hide Frame Edges", Some("Cmd+H"), "{}"),("view.rulers", "Show/Hide Rulers", Some("Cmd+R"), "{}"),("view.guides", "Show/Hide Guides", Some("Cmd+;"), "{}"),@@@ -1242,20 -1120,13 +1256,24 @@@ pub fn run_ui(app: &mut DesignApp, id:Ok(Value::Null)}"view.togglePreview" => {- app.ui.screen_mode = if app.ui.screen_mode == ScreenMode::Normal { ScreenMode::Preview } else { ScreenMode::Normal };+ let mode = if app.ui.screen_mode == ScreenMode::Normal { ScreenMode::Preview } else { ScreenMode::Normal };+ set_screen_mode(app, mode);+ Ok(Value::Null)+ }+ "view.togglePresentation" => {+ let mode = match (app.ui.screen_mode, app.ui.presentation_return) {+ // A settings file can hold Presentation as the return mode; leaving must still leave.+ (ScreenMode::Presentation, ScreenMode::Presentation) => ScreenMode::Normal,+ (ScreenMode::Presentation, back) => back,+ _ => ScreenMode::Presentation,+ };+ set_screen_mode(app, mode);Ok(Value::Null)}+ "color.defaultFillStroke" => crate::toolbar::default_fill_stroke(app),+ "color.swapFillStroke" => crate::toolbar::swap_fill_stroke(app),+ "color.toggleFillStroke" => crate::toolbar::toggle_fill_stroke(app),+ "color.applyNone" => crate::toolbar::apply_none(app),"view.frameEdges" => flag(&mut app.ui.frame_edges),"view.overprintPreview" => {app.canvas.shown = None;diff --cc crates/ui-egui/src/panels/swatches.rsindex d5432035a,7544347a9..eb8f3ae83--- a/crates/ui-egui/src/panels/swatches.rs+++ b/crates/ui-egui/src/panels/swatches.rs@@@ -232,11 -208,9 +232,10 @@@ pub fn color_panel(app: &mut DesignApp));return;};+ let text = super::colors_affect_text(app);let Some(doc) = app.session.active().map(|d| d.doc.clone()) else { return };- let stroke_id = egui::Id::new("color_panel_stroke");let mode_id = egui::Id::new("color_panel_mode");- let mut stroke: bool = ui.data(|d| d.get_temp(stroke_id)).unwrap_or(false);+ let mut stroke = app.ui.stroke_front;let default_mode = if doc.settings.intent == designcraft_doc::Intent::Print { ColorMode::Cmyk } else { ColorMode::Rgb };let mut mode: ColorMode = ui.data(|d| d.get_temp(mode_id)).unwrap_or(default_mode);let target = if stroke { "stroke" } else { "fill" };diff --cc crates/ui-egui/src/toolbar.rsindex 5c591e11a,2a6744d25..ed2f3d707--- a/crates/ui-egui/src/toolbar.rs+++ b/crates/ui-egui/src/toolbar.rs@@@ -195,13 -194,13 +195,12 @@@ pub fn show(app: &mut DesignApp, ui: &m/// utility button and the Screen Mode well.fn fill_stroke_proxy(app: &mut DesignApp, ui: &mut egui::Ui, width: f32) {let t = Tokens::get(ui.ctx());- let info = crate::panels::sel_info(app);+ let target = crate::panels::color_target(app);let doc = app.session.active().map(|d| d.doc.clone());- let stroke_front_id = egui::Id::new("proxy_stroke_front");- let stroke_front: bool = ui.data(|d| d.get_temp(stroke_front_id)).unwrap_or(false);- let text_id = egui::Id::new("proxy_text");+ let stroke_front = app.ui.stroke_front;- let text_mode: bool = ui.data(|d| d.get_temp(text_id)).unwrap_or(false);- let (fill_sw, stroke_sw) = match &info {- Some(i) => (i.fill.clone(), i.stroke.clone()),+ let text_mode = crate::panels::colors_affect_text(app) || app.ui.formatting_affects_text;+ let (fill_sw, stroke_sw) = match &target {+ Some((fill, _, stroke, _)) => (fill.clone(), stroke.clone()),None => ("[None]".to_string(), "[Black]".to_string()),};let x0 = ui.max_rect().min.x + (width - 30.0) / 2.0;@@@ -282,20 -275,10 +281,20 @@@if fresp.clicked() || sresp.clicked() {let front =if stroke_front { !fresp.clicked() } else { sresp.clicked() && !fill_r.contains(sresp.interact_pointer_pos().unwrap_or_default()) };- ui.data_mut(|d| d.insert_temp(stroke_front_id, front));+ app.ui.stroke_front = front;}+ // A double-click opens the Color Picker for that box (as InDesign's), with the colour of what+ // colour edits apply to (see `colors_affect_text`).if fresp.double_clicked() || sresp.double_clicked() {- let _ = app.run("window.panel", json!({"panel": "swatches"}));+ let on_fill = fresp.double_clicked() && (!stroke_front || !sresp.double_clicked());+ let stroke = !on_fill;+ let current = if stroke { &stroke_sw } else { &fill_sw };+ let rgb = doc.as_ref().and_then(|d| d.resolve_color(current, 1.0)).map_or([0.0; 3], |c| c.to_rgb());+ let byte = |v: f32| (v.clamp(0.0, 1.0) * 255.0).round() as u8;+ let hex = format!("#{:02x}{:02x}{:02x}", byte(rgb[0]), byte(rgb[1]), byte(rgb[2]));+ let text = crate::panels::colors_affect_text(app);+ app.ui.dialog =+ Some(crate::dialogs::Dialog::new("colorPicker", json!({"target": if stroke { "stroke" } else { "fill" }, "hex": hex, "text": text})));}ui.add_space(3.0);// Formatting affects container / text.diff --cc docs/target-app-parity.mdindex 9bf2a0812,ee95a4905..9c838827b--- a/docs/target-app-parity.md+++ b/docs/target-app-parity.md@@@ -265,14 -265,14 +265,14 @@@ The inventory below was the "Working toIt is evidence of breadth: each item exists. It is not a claim of InDesign-level depth.- Document model: facing/non-facing spreads, parent pages with page-number markers, sections, layers, frames (text / graphic / unassigned), threaded stories, paragraph/character/object styles with based-on, swatches (process/spot/tints/gradients), corner options, text wrap, drop shadow, opacity/blend.-- Text engine: Knuth–Plass paragraph composer and single-line composer, dictionary hyphenation (public-domain Moby list + our own trained Liang patterns), justification with word/letter/glyph-scaling ranges, keep options (keep with next, keep lines together, widows/orphans), balance ragged lines, optical margin alignment, hyphenation zone/limit, columns, threading across frames and spreads, tabs, bullets/numbering, rules, shading, baseline grid, first-baseline options, vertical justification, wrap exclusions, overset detection, caret/hit testing.+- Text engine: Knuth–Plass paragraph composer and single-line composer, dictionary hyphenation (public-domain Moby list + our own trained Liang patterns), justification with word/letter/glyph-scaling ranges, keep options (keep with next, keep lines together — at start/end of paragraph by default, as in InDesign — widows/orphans), balance ragged lines, optical margin alignment, hyphenation zone/limit, columns, threading across frames and spreads, tabs, bullets/numbering, rules, shading, baseline grid, first-baseline options, vertical justification, wrap exclusions, overset detection, caret/hit testing.- FID2: IDML underline/strikethrough Text Color resets survive style inheritance and roundtrip. Raster and PDF paint underlines behind glyphs, retain strikethrough above, and center rules on their offsets; synthetic overlap tests cover both backends.- Rendering: vello_cpu (SIMD, multithreaded) — pages, items, images with mip levels, gradients, composed text.- - UI (egui): application bar + menus, Control panel (object and text modes), Tools panel with flyouts, document tabs, rulers, pasteboard, guides (margins, columns, bleed, baseline grid), document grid (View ▸ Grids & Guides, ⌘', on the snap positions, behind or in front of items), frame edges, selection handles, text ports and threads, Properties / Pages / Layers dock, Swatches, Styles, Character, Paragraph, Stroke, Text Wrap panels, New Document and Preferences dialogs, Quick Apply (⌘Return), 4 brightness themes.-- UI (egui): application bar + menus, Control panel (object and text modes), Tools panel with flyouts and the Fill/Stroke proxy (D, X, Shift+X, / as `color.*` commands), document tabs, rulers, pasteboard, guides (margins, columns, bleed, baseline grid), frame edges, selection handles, text ports and threads, Properties / Pages / Layers dock, Swatches, Styles, Character, Paragraph, Stroke, Text Wrap panels, New Document and Preferences dialogs, Quick Apply (⌘Return), 4 brightness themes.-- Pen tool, Direct Selection anchor/handle editing, rotate from corners, Rotate/Scale/Shear tools, Eyedropper, snapping & smart guides, Align/Distribute, Find/Change (text + GREP), Story Editor, Paragraph Style Options, Effects panel, hidden characters, native macOS menu bar, measured InDesign 2026 look (Medium Dark): Properties sections per selection state, 21 pt spinner fields with arithmetic, Contextual Task Bar, inverse (black) text selection, Pages panel with drag-and-drop reorder / parent apply, Layers panel with per-object rows.++- UI (egui): application bar + menus, Control panel (object and text modes), Tools panel with flyouts and the Fill/Stroke proxy (D, X, Shift+X, / as `color.*` commands), document tabs, rulers, pasteboard, guides (margins, columns, bleed, baseline grid), document grid (View ▸ Grids & Guides, ⌘', on the snap positions, behind or in front of items), frame edges, selection handles, text ports and threads, Properties / Pages / Layers dock, Swatches, Styles, Character, Paragraph, Stroke, Text Wrap panels, New Document and Preferences dialogs, Quick Apply (⌘Return), 4 brightness themes.+- Pen tool, Direct Selection anchor/handle editing, rotate from corners, Rotate/Scale/Shear tools, Eyedropper, snapping & smart guides, Align/Distribute, Find/Change (text + GREP), Story Editor, Paragraph Style Options, Effects panel, hidden characters, native macOS menu bar, measured InDesign 2026 look (Medium Dark): Properties sections per selection state, 21 pt spinner fields with arithmetic, Contextual Task Bar, inverse (black) text selection, Pages panel with drag-and-drop reorder / parent apply, Layers panel with per-object rows, expandable groups and drag-and-drop reorder of layers and objects (the selection square moves the selection to another layer).- Tools: Selection (click, marquee, move, Alt-duplicate, resize handles), Direct Selection, Type (draw frame, click caret, select, type), Rectangle/Ellipse/Polygon (+ frame variants), Line, Hand, Zoom.- PDF export (krilla): real selectable text with embedded font subsets, DeviceCMYK/RGB + spot Separations, bleed boxes, crop/bleed marks + page info, pages or spreads, PDF/A-2b (PDF/X-4 output intent pending) — `file.exportPdf`, File › Export PDF…, `designcraft-cli run --export out.pdf`. File › Export PDF… now opens an "Export PDF" options dialog (General / Compression / Marks and Bleeds / Advanced) and remembers the last-used settings across exports and sessions.-- IDML interchange (`designcraft-idml`): export and import of swatches, styles, fonts, preferences, parent spreads, spreads/pages, frames, groups, images (embedded or linked), formatted threaded stories — opens in InDesign 2026 and round-trips InDesign-exported files (`file.exportIdml`, `file.openIdml`, File → Export IDML…, CLI `--in x.idml` / `--export x.idml`).+- IDML interchange (`designcraft-idml`): export and import of swatches, styles, fonts, preferences, parent spreads, spreads/pages, frames, groups, images (embedded or linked), formatted threaded stories; attributes a file leaves unset take InDesign's defaults (Keep Lines Together at start/end of paragraph, 12 pt corners, paragraph rules in Text Color, auto-sizing from the centre, numbered lists restarting in each story, alternating table fills Black 20 % / None; a tint of −1 is the colour's own; frames take the fill, stroke, corners and Text Frame Options they don't write from their object style chain, then [None]) — opens in InDesign 2026 and round-trips InDesign-exported files (`file.exportIdml`, `file.openIdml`, File → Export IDML…, CLI `--in x.idml` / `--export x.idml`).- Tables (M8): tables anchored in stories (header/footer/body rows, merged cells, per-edge strokes, fills + alternating fills, insets, vertical justification, at-least/exact row heights); composed into the text column (columns scale to fit, rows break across columns/frames with repeating headers/footers, overset); rendered, exported to PDF (real text) and IDML (export + import); Table menu, Table panel, Create Table dialog, caret/typing/Tab navigation and cell selection in cells; `table.*` commands.- Hyperlinks (text or frames → URL / e-mail / page) and bookmarks, exported as PDF link annotations and outline.- EPUB 3 (reflowable) export: stories in reading order, CSS from paragraph/character styles, images, navigation (`file.exportEpub`, CLI `--export x.epub`).