GPUI.Text.InlineProjection (gpui v0.2.0-rc.1)

Copy Markdown View Source

Non-editable text rendered at an explicit logical text position.

Inline projections are visual only. They do not enter the Rope, affect selection coordinates, participate in history, or imply completion policy.

Summary

Types

rgb()

@type rgb() :: 0..16_777_215

t()

@type t() :: %GPUI.Text.InlineProjection{
  color: rgb(),
  position: GPUI.Text.Position.t(),
  text: String.t()
}

Functions

new(position, text, opts \\ [])

@spec new(GPUI.Text.Position.t(), String.t(), keyword()) :: t()