A half-open range between two GPUI.Text.Position values.
Summary
Functions
Creates a collapsed range at a logical position.
Creates a half-open range between two logical positions.
Types
@type t() :: %GPUI.Text.Range{ end: GPUI.Text.Position.t(), start: GPUI.Text.Position.t() }
Functions
@spec caret(GPUI.Text.Position.t()) :: t()
Creates a collapsed range at a logical position.
@spec new(GPUI.Text.Position.t(), GPUI.Text.Position.t()) :: t()
Creates a half-open range between two logical positions.