Expand description
Framework-neutral, random-access unified and split row presentation.
Structs§
- Cell
Source - Content
Projection - Reveal state used to project a document over the sources it carries.
- Diff
Presentation - Eager row indexes and cheap descriptors. Syntax and frontend widgets are not constructed here.
- GapExpansion
- User-controlled revealed ranges at both hunk-adjacent edges of a gap.
- GapId
- Stable identity of a gap before, between, or after hunks.
- GapInfo
- Adapter-facing state for an expansion affordance.
- GapInterval
- One-based half-open source intervals for both sides of a gap.
- Hunk
Sequence - Renderer-neutral description of the hunk-side line sequence containing a patch cell, used to keep multiline syntax context for patch-only files.
- Presentation
Options - Options used while indexing presentation rows.
- Presented
Cell - One side of a presented row.
- Presented
Row - One cheap renderer-neutral row descriptor.
- RowId
- Stable identity for a presented row.
Enums§
Constants§
- MAX_
HUNK_ SEQUENCE_ LINES - Largest hunk (in total patch lines) served as a fallback syntax sequence. Larger hunks degrade to per-line highlighting so patch-only rendering work stays bounded by the viewport rather than the document.
Functions§
- gaps_
for_ file - Computes leading, between-hunk, and trailing one-based source intervals.