Published release 0.2.1. Unreleased PR #2 reference.
LOOM 0.2.1 / ADDITIONAL WIDGETS AND TEXT
MarkdownStreamingSnapshot
A complete rendering snapshot divided at a conservative top-level block boundary.
Replace the previous snapshot on each update; these arrays are not append-only
deltas. Later reference definitions can change even structurally stable blocks.
The host owns scrollback and must rebuild it when requiresFinalReflow is true.
Standard inherited Swift protocol operations such as synthesized equality and OptionSet set operations are not repeated. The public declarations below are extracted from the exact source revision listed in the coverage manifest.
Members on this page
Feature guides and release status
MarkdownStreamingSnapshot
struct MarkdownStreamingSnapshotConforms to: Swift.Sendable, Swift.SendableMetatype.
A complete rendering snapshot divided at a conservative top-level block boundary.
Replace the previous snapshot on each update; these arrays are not append-only
deltas. Later reference definitions can change even structurally stable blocks.
The host owns scrollback and must rebuild it when requiresFinalReflow is true.
stableSpans
let stableSpans: [TextSpan]A public field of this type. Its value type and mutability are shown in the declaration.
Source · MarkdownStreamingSnapshot.swift:7pendingSpans
let pendingSpans: [TextSpan]A public field of this type. Its value type and mutability are shown in the declaration.
Source · MarkdownStreamingSnapshot.swift:8requiresFinalReflow
let requiresFinalReflow: BoolCompletion always requests reflow, including references without a final newline.
Source · MarkdownStreamingSnapshot.swift:10spans
var spans: [TextSpan] { get }The full rendering, identical to MarkdownText.spans for the same source.