# `Minga.Editing.Search.Match`
[🔗](https://github.com/jsmestad/minga/blob/main/lib/minga/editing/search/match.ex#L1)

A search match: a pattern occurrence at a specific buffer position.

Replaces the raw `{line, col, length}` tuple that previously crossed
module boundaries between Search, Renderer, ContentHelpers, and
Agent.UIState.

# `t`

```elixir
@type t() :: %Minga.Editing.Search.Match{
  col: non_neg_integer(),
  length: non_neg_integer(),
  line: non_neg_integer()
}
```

# `new`

```elixir
@spec new(non_neg_integer(), non_neg_integer(), non_neg_integer()) :: t()
```

Creates a match from positional values.

---

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