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.

Inherited Properties
property Inherited Properties from Object: type
Constructors

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

Inherited Methods
method Inherited Methods from Object: deepCopy, fromJson, toDict, toJson, toString, toXml