An atomic replacement of one half-open text range.
Summary
Functions
Creates an insertion edit at a logical position.
Creates an atomic replacement for a half-open range.
Types
@type t() :: %GPUI.Text.Edit{range: GPUI.Text.Range.t(), text: String.t()}
Functions
@spec insert(GPUI.Text.Position.t(), String.t()) :: t()
Creates an insertion edit at a logical position.
@spec new(GPUI.Text.Range.t(), String.t()) :: t()
Creates an atomic replacement for a half-open range.