ChangeSpec

sealed interface ChangeSpec

This type is used as argument to EditorState.changes and in the changes field of transaction specs to succinctly describe document changes.

Inheritors

Types

Link copied to clipboard
data class Multi(val specs: List<ChangeSpec>) : ChangeSpec
Link copied to clipboard
class Set(val changeSet: ChangeSet) : ChangeSpec
Link copied to clipboard
data class Single(val from: DocPos, val to: DocPos? = null, val insert: InsertContent? = null) : ChangeSpec