Method OnDrawingText
OnDrawingText(DrawContext?)
Draws the link text with OSC 8 hyperlink sequences when the URL is valid.
protected override bool OnDrawingText(DrawContext? context)
Parameters
contextDrawContextThe draw context for tracking drawn regions.
Returns
Remarks
If Text is empty, Url is drawn; otherwise Text is drawn. The displayed text is determined by UpdateTextFormatterText().
If Url is a well-formed absolute URI, the driver's CurrentUrl is set so that
all drawn cells carry the URL (enabling OSC 8 hyperlink output in supporting terminals).
If the URL is not well-formed, the text is rendered with the Disabled style
and no hyperlink sequence is emitted.