# `MingaEditor.SemanticWindow.SearchMatch`
[🔗](https://github.com/jsmestad/minga/blob/main/lib/minga_editor/semantic_window/search_match.ex#L1)

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).

# `t`

```elixir
@type t() :: %MingaEditor.SemanticWindow.SearchMatch{
  end_col: non_neg_integer(),
  is_current: boolean(),
  row: non_neg_integer(),
  start_col: non_neg_integer()
}
```

# `from_context_matches`

```elixir
@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.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
