A directed selection represented by anchor and head positions.
Summary
Types
@type t() :: %GPUI.Text.Selection{ anchor: GPUI.Text.Position.t(), head: GPUI.Text.Position.t(), id: String.t(), primary: boolean() }
Functions
@spec caret(String.t(), GPUI.Text.Position.t(), keyword()) :: t()