Yex.UndoManager.Options (y_ex v0.12.1)

Copy Markdown View Source

Options for creating an UndoManager.

  • :capture_timeout - Time in milliseconds to wait before creating a new capture group
  • :tracked_origins - Origins to track from the start, as if each had been passed to Yex.UndoManager.include_origin/2. nil (the default) tracks only transactions without an origin. See "Tracked origins" in Yex.UndoManager.

Summary

Types

t()

@type t() :: %Yex.UndoManager.Options{
  capture_timeout: non_neg_integer(),
  tracked_origins: [term()] | nil
}