Repository navigation
fix(text): reveal Find matches in paragraph-layout fields - #1057
Merged
Merged
Conversation
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
overp0werj0int
added a commit
to overp0werj0int/rune
that referenced
this pull request
Nov 18, 2026
This reverts commit 0d291cc. Upstream's highlight_boxes_in now reads a field's boxes through TextLayout::view and TextFlow::range_boxes, which covers a by-paragraph field (anomalyco#1057, with TextFlow::Paragraphs carried through links, rects and selectable in anomalyco#1133), and links::origin takes a TextFlow there too. Quire's find-in-source tests (wr_118_*) check it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A Find UI could advance the matched byte range in a multiline field but leave it off screen. Highlight lookup only asked for a single Parley layout. Paragraph fields now resolve the lines of a match before reporting its boxes. The reveal and the painted highlight both translate document bytes to the matching paragraphs, including their offsets and direction isolates. The single-layout route is unchanged.
In a 2,000-line field the match advances from byte 212 to 51,911. On the first frame after release its 20-point line is at y=215, centred in the 350-point viewport beginning at y=50. The rectangle stays there on the following frame. No change to query matching, keyboard shortcuts or native accessibility capabilities.