GPUI.Text.Transaction (gpui v0.2.0-rc.1)

Copy Markdown View Source

A revisioned atomic set of text edits and resulting selections.

Summary

Types

origin()

@type origin() :: atom() | String.t()

t()

@type t() :: %GPUI.Text.Transaction{
  base_revision: non_neg_integer(),
  edits: [GPUI.Text.Edit.t()],
  id: String.t(),
  origin: origin(),
  selections: [GPUI.Text.Selection.t()]
}