StyledSpan
class in package klyn.gui.terminal.syntax

    public class StyledSpan extends Object:

Object
└ StyledSpan

Styled text fragment produced by syntax highlighters.

The renderer consumes these spans directly without passing through ANSI text.

Properties

Modifier and Type | Member | Description
--- | --- | ---
public readonly property | style `style as RenderStyle:` | No summary.
public readonly property | text `text as String:` | No summary.

Properties inherited from Object: type
Constructors

Modifier and Type | Member | Description
--- | --- | ---
public | StyledSpan `StyledSpan(text as String, style as RenderStyle = null):` | No summary.

Methods inherited from Object: fromJson, toDict, toJson, toString, toXml