Interface: TextRun
One contiguous run of rendered display text, tagged with whether it fell
inside a \H…\N highlight span. Runs preserve emphasis boundaries that
the flat RenderedText.text intentionally drops.
Properties
highlighted
readonlyhighlighted:boolean
true when this run is inside a \H\…\N highlight span.
text
readonlytext:string
The literal display text of this run: escape sentinels already resolved (delimiter/hex decoded, formatting → whitespace/line breaks). Never contains a formatting sentinel; may contain the newline used for breaks.