Scoop API

scoop:scoop.ui:0.1.0

TextEditorState

class TextEditorState

source · line 9
public
public class TextEditorState public constructor(
    text: String = "",
    selection: Utf8Selection? = None
)

Observable plain text and edit history, independent of any mounted editor.

property committedText

source · line 50
public
public val committedText: String

get: public read-only

Observes the document while excluding an active composition's temporary text.