Skip to content

Make LineBoxMetrics Copy by snapshotting non-root subtrees at break opportunities - #80

Open
nicoburns wants to merge 2 commits into
mainfrom
devin/1790880246-subtree-snapshot-fork
Open

nicoburns wants to merge 2 commits into
mainfrom
devin/1790880246-subtree-snapshot-fork

Conversation

@nicoburns

Copy link
Copy Markdown
Member

LLM Contributions: Code and tests written by Devin (LLM), at the request of @nicoburns.

Description to be written by a human author per the LLM policy. Alternative to linebender#855.

Changelog: None

Link to Devin session: https://dioxus.staging.devinenterprise.com/sessions/29f0d07ee02848d2b3c41820ec7f2c04
Open in Devin Desktop: https://dioxus.staging.devinenterprise.com/desktop/session/29f0d07ee02848d2b3c41820ec7f2c04?variant=devin-insiders

…pportunities

Move the extents of non-root aligned subtrees (vertical-align: top | bottom) out of
LineBoxMetrics into BreakerState::subtrees, and save/restore that list alongside the
line state in PrevBoundaryState. LineBoxMetrics is now Copy, and the list is empty
(so cloning it is free) unless the line has top/bottom aligned content.
@staging-devin-ai-integration

Copy link
Copy Markdown

I'll fix CI failures and address comments from users with write access that start with 'Devin'.

  • Disable automatic comment, CI, and merge conflict monitoring

# Conflicts:
#	parley/src/layout/line_break.rs
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