A non-editable block rendered adjacent to an explicit logical text line.
Blocks are visual annotations only. They do not enter the Rope, create visual rows inside text layout, affect selections, or participate in history.
Summary
Types
@type placement() :: :before | :after
@type rgb() :: 0..16_777_215
@type t() :: %GPUI.Text.BlockProjection{ background: rgb() | nil, color: rgb(), height: pos_integer(), line: non_neg_integer(), placement: placement(), text: String.t() }
Functions
@spec new(non_neg_integer(), String.t(), keyword()) :: t()