# editor: Persist multi-line diagnostic hovers in whitespace areas \(\#47471\) · gitcafe/zed

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

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

Visibility: public

Requested revision: f713373d1026a4e7fa7caf289b33b5009e885e0c

Requested commit: f713373d1026a4e7fa7caf289b33b5009e885e0c

Commit: f713373d1026a4e7fa7caf289b33b5009e885e0c

Tree: 0d950d53a3dc1f425acb9cfbf441ad829b64e905

Author: daydalek

Committer: GitHub

## Message

```
editor: Persist multi-line diagnostic hovers in whitespace areas (#47471)

When the mouse cursor moves into the whitespace of a line within a
multi-line diagnostic range, the hover popover would previously
disappear. This change adds a check to keep the diagnostic hover visible
if the mouse row intersects with the active diagnostic's range.

Fixes #46841

Release Notes:

- Improved hover behavior for multi-line diagnostics to persist when
hovering over whitespace.


https://github.com/user-attachments/assets/0965cb25-6207-4d4a-9165-0d51157fc6e4
```

## Parents

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

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