Scoop API

scoop:scoop.ui:0.1.0

TextDisplay

class TextDisplay

source · line 44
public
public class TextDisplay internal constructor(
    public val source: TextEditSnapshot,
    public val text: String,
    internal val mapping: EditorOffsetMap,
    internal val edits: Array<TextEditReplacement>
)

This immutable mapping must be retained with the layout built from text.