MingaEditor.SemanticWindow.DocumentHighlightRange (Minga v0.1.0)

Copy Markdown View Source

A document highlight range in display coordinates for the GUI protocol.

Sent as part of the gui_window_content (0x80) opcode. The kind field distinguishes text, read, and write references for distinct styling.

Summary

Types

Highlight kind matching the LSP spec.

t()

Types

kind()

@type kind() :: :text | :read | :write

Highlight kind matching the LSP spec.

t()

@type t() :: %MingaEditor.SemanticWindow.DocumentHighlightRange{
  end_col: non_neg_integer(),
  end_row: non_neg_integer(),
  kind: kind(),
  start_col: non_neg_integer(),
  start_row: non_neg_integer()
}