# Correctly compute placeholder text for buffer search query editor \(\#3749\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 4680aad885493e368c7715b732e3f3fba1bc63fe

Requested commit: 4680aad885493e368c7715b732e3f3fba1bc63fe

Commit: 4680aad885493e368c7715b732e3f3fba1bc63fe

Tree: 52df20c3b9ffd0f67a947ad6eec07ff18315e7f1

Author: Nathan Sobo

Committer: GitHub

## Message

```
Correctly compute placeholder text for buffer search query editor (#3749)

Rather than relying on the focused element, instead explicitly pass the
focus handle for the query editor when determining the prev/next
bindings. Only compute these values once.

Release Notes:

- N/A
```

## Parents

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

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

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