Skip to content

Keep rejected tabs consumed across layout areas - #73

Closed
gaspardpetit wants to merge 2 commits into
fix/migradoc-styled-numeric-runfrom
fix/migradoc-rejected-tab-area-continuation
Closed

gaspardpetit wants to merge 2 commits into
fix/migradoc-styled-numeric-runfrom
fix/migradoc-rejected-tab-area-continuation

Conversation

@gaspardpetit

@gaspardpetit gaspardpetit commented Oct 21, 2026 •

Copy link
Copy Markdown
Owner

A tab discarded at a line break could be reprocessed when the paragraph continued on another page or frame. Store a separate continuation iterator for the consumed tab while preserving the previous line's paint range. Keep tabs after an explicit line break; they belong to the new line.

Follows the rejected-tab correction in #7. Mirrored in Pdfxport #69.

Regression tests cover both cases. MigraDoc.Tests on .NET 8: 501 passed, 17 skipped. MigraDoc.Rendering netstandard2.0 build passed.

@gaspardpetit

Copy link
Copy Markdown
Owner Author

Superseded by #76, which preserves the tab-continuation fix, excludes the styled-word change while Pdfxport #70 remains open, and targets master directly. GitHub would not allow retargeting this stacked PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant