Skip to content

Fix wrapped tab layout and publish docx-core latency charts - #33

Merged
andrewlu0 merged 2 commits into
mainfrom
andrew/fix-tab-layout
Nov 2, 2026
Merged

andrewlu0 merged 2 commits into
mainfrom
andrew/fix-tab-layout

Conversation

@andrewlu0

@andrewlu0 andrewlu0 commented Nov 2, 2026 •

Copy link
Copy Markdown
Collaborator

Plain tab stops used the accumulated paragraph width after a soft wrap, so later columns landed before their configured stop. The renderer now tracks the current visual line and preserves the tab indentation when an unbroken run overflows the remaining width, in editing, read-only, and markup views.

Verified the reports against published 0.13.0 and Microsoft Word exports. Horizontal tab positions now match the configured stop across editing, read-only, and markup views. The existing 963 JavaScript tests and 46 Word-oracle contract checks pass. A patch changeset is included.

Also publishes the measured 0.13.0 native latency comparison charts in the docx-core README: median/p95 overview, per-format distributions, and complexity plots for all six formats plus the separate additional DOCX regression cohort. Timing data is numeric-only and the measurement scope and limitations are documented.

Fixes #13
Fixes #15

@vercel

vercel Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
react-docx-playground Ready Ready Preview Nov 2, 2026 10:09pm UTC

Request Review

@andrewlu0
andrewlu0 merged commit fa27e2e into main Nov 2, 2026
5 checks passed

This branch was successfully deployed

1 active deployment
Preview — 88dfcdcc Deployed Nov 2, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant