Yex.UndoManager.StackClearedEvent (y_ex v0.13.0)

Copy Markdown View Source

Yex.UndoManager.clear/1 emptied the stacks. Delivered by Yex.UndoManager.observe/2 only when at least one stack held items.

Each flag is true when that stack held items before the clear.

Summary

Types

t()

@type t() :: %Yex.UndoManager.StackClearedEvent{
  redo_stack_cleared: boolean(),
  undo_stack_cleared: boolean()
}