A search match in display coordinates.
The GUI renders these as highlight quads behind text. The is_current
flag indicates the currently confirmed match (rendered with a distinct
color).
Summary
Functions
Converts search matches from the render context to display coordinates.
Types
@type t() :: %MingaEditor.SemanticWindow.SearchMatch{ end_col: non_neg_integer(), is_current: boolean(), row: non_neg_integer(), start_col: non_neg_integer() }
Functions
@spec from_context_matches( [Minga.Editing.Search.Match.t()], Minga.Editing.Search.Match.t() | nil, non_neg_integer(), non_neg_integer() ) :: [t()]
Converts search matches from the render context to display coordinates.