# editor: Fix highlight and selection overlap causing flicker while selecting \(\#40168\) · gitcafe/zed

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

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

Visibility: public

Requested revision: d4cc4f8ca76ba70d886e3a10e10f550a28534354

Requested commit: d4cc4f8ca76ba70d886e3a10e10f550a28534354

Commit: d4cc4f8ca76ba70d886e3a10e10f550a28534354

Tree: 3d356f1c48242b3bc644cc1f01f21b96eaa084de

Author: Smit Barmase

Committer: GitHub

## Message

```
editor: Fix highlight and selection overlap causing flicker while selecting (#40168)

Regressed in https://github.com/zed-industries/zed/pull/39857, only on
Nightly.

Release Notes:

- N/A
```

## Parents

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

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