# editor: Highlight all matching occurrences of text in selection \(\#24835\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 3e9722685b51975aa86b44f36bde57cb19f3d4ca

Requested commit: 3e9722685b51975aa86b44f36bde57cb19f3d4ca

Commit: 3e9722685b51975aa86b44f36bde57cb19f3d4ca

Tree: e84b47cf7b4207924e78d4526d3ca05971df0052

Author: smit

Committer: GitHub

## Message

```
editor: Highlight all matching occurrences of text in selection (#24835)

Closes #12635

- [x] Get it working
- [x] Disable for multi cursor
- [x] Disable for vim visual line selection
- [x] Add setting to disable it
- [x] Add scrollbar marker
- [x] Handle delete state capturing selection

Preview:

https://github.com/user-attachments/assets/a76cde64-4f6c-4575-91cc-3a03a954e7a9

Release Notes:

- Added support to highlight all matching occurrences of text within the
selection in editor.

---------

Co-authored-by: Agus Zubiaga <agus@zed.dev>
Co-authored-by: Danilo <danilo@zed.dev>
```

## Parents

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

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