Batch

interface Batch

A Batch is part of a History and is made up of a list of Changes. Undo and redo work on batches, not on individual changes.

See History.

Inheritors

Properties

Link copied to clipboard
abstract var label: String

A human-readable short description of the changes.

Functions

Link copied to clipboard
abstract fun addChange(change: Change?)
Link copied to clipboard
abstract fun isSkippable(): Boolean

Does this batch only contain SkippableChanges? These are selection-only changes. This gives us the choice to automatically jump over selection-only batches when performing undo/redo.

Link copied to clipboard
open operator fun Change?.unaryPlus()

Adds a Change to this batch using the unary plus operator. e.g.