GPUI.Text.Transaction.Result (gpui v0.2.0)

Copy Markdown View Source

Result of applying a GPUI.Text.Transaction to a persistent text buffer.

duplicate is true when an identical transaction ID and payload was already applied. The resulting selections are decoded public GPUI.Text.Selection values.

Summary

Types

t()

@type t() :: %GPUI.Text.Transaction.Result{
  duplicate: boolean(),
  revision: non_neg_integer(),
  selections: [GPUI.Text.Selection.t()]
}