# Avoid re-rendering editor on mouse move · gitcafe/zed

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

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

Visibility: public

Requested revision: 646d344a11032c9ad2d32a7624a1254b32249716

Requested commit: 646d344a11032c9ad2d32a7624a1254b32249716

Commit: 646d344a11032c9ad2d32a7624a1254b32249716

Tree: 1951b484e30f784970c7650d65e2267f02707640

Author: Nathan Sobo

Committer: Nathan Sobo

## Message

```
Avoid re-rendering editor on mouse move

Only notify editor when clearing highlights if there were highlights to
begin with.

Co-Authored-By: Max Brunsfeld <max@zed.dev>

```

## Parents

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

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