# editor: Select first match in "Find all references" editor \(\#13424\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/9298d3b525abdb1eb67acaaf4c2395451c747fcb)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 9298d3b525abdb1eb67acaaf4c2395451c747fcb

Requested commit: 9298d3b525abdb1eb67acaaf4c2395451c747fcb

Commit: 9298d3b525abdb1eb67acaaf4c2395451c747fcb

Tree: 390afa7bb403f1d605ea9d1c622d5bb68eaedd10

Author: Piotr Osiewicz

Committer: GitHub

## Message

```
editor: Select first match in "Find all references" editor (#13424)

Previously we've placed cursor on the first line of the first excerpt in
the multibuffer, but alas,
https://x.com/fasterthanlime/status/1804883499809165473 happened (j/k,
this feedback is totally valid) and now we're gonna place it at the end
of the first reference. As a bonus, with the old configuration `editor:
select next` tripped over itself. Now it's possible (& feasible) to do a
"select next" in "find all references"; consecutive referenced ranges
will be selected.

Fixes #13419



Release Notes:

- Fixed a bug where "Find all references" editor had cursor placed on
the first line of the first excerpt in the multibuffer instead of having
it on the first reference.
```

## Parents

- [89739d5874c4c9626f70580fa2bb3fea10d42632](https://git.cafe/gitcafe/zed/commit/89739d5874c4c9626f70580fa2bb3fea10d42632?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/9298d3b525abdb1eb67acaaf4c2395451c747fcb?format=markdown)
