RichRun

data class RichRun<T>(val text: String, val range: IntRange, val value: T)

Represents a contiguous block of text where a specific attribute is continuously applied.

Parameters

T

The type of the attribute value.

Constructors

Link copied to clipboard
constructor(text: String, range: IntRange, value: T)

Properties

Link copied to clipboard

The character range (inclusive) within the original text.

Link copied to clipboard

The substring corresponding to this run.

Link copied to clipboard
val value: T

The attribute value extracted by the query.