LineWrapRepresentation

data class LineWrapRepresentation(val lines: List<String>, val styles: Map<IntRange, Style>) : Record(source)

A TextComponent representation optimized for manipulating the text while keeping track of the styles. To create one from a Component, use LineWrapEncoder.encode.

Constructors

Link copied to clipboard
constructor(lines: List<String>, styles: Map<IntRange, Style>)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard