Skip to content

feat: expose public highlighting APIs - #489

Merged
barrettruth merged 3 commits into
mainfrom
feat/public-highlighting-api
Nov 8, 2026
Merged

barrettruth merged 3 commits into
mainfrom
feat/public-highlighting-api

Conversation

@barrettruth

@barrettruth barrettruth commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner

Expose public highlighting APIs for callers that supply hunks and display offsets.

Add attach() and detach().

Misc fix: include the final body line when determining whether a hunk is visible. This previously broke highlighting a one-line hunk with no header.

@barrettruth
barrettruth merged commit fb46e82 into main Nov 8, 2026
0 of 3 checks passed
@barrettruth
barrettruth deleted the feat/public-highlighting-api branch November 8, 2026 22:53
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