Js Command Manager
Functions
Link copied to clipboard
open override fun beginGesture(description: String, origin: MutationOrigin = MutationOrigin.User, batching: StepEventBatching = StepEventBatching.PerCommand): UndoResult
A gesture is a step that coalesces adjacent commands sharing a command id: intermediate values are applied, but history keeps only the first and the last.
Link copied to clipboard
open override fun beginStep(description: String, origin: MutationOrigin = MutationOrigin.User, batching: StepEventBatching = StepEventBatching.PerCommand): UndoResult
Opens one named history step spanning several commands. Commands performed while it is open are applied immediately but enter history as one entry only when endStep succeeds. Nested steps are deliberately rejected.
Link copied to clipboard
Link copied to clipboard
Reverts every child that already ran, in reverse order.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard