# Fix layout of diagnostic blocks \(\#3729\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 71d17e268db37b9396f7c7fefa6dcd255bf6f019

Requested commit: 71d17e268db37b9396f7c7fefa6dcd255bf6f019

Commit: 71d17e268db37b9396f7c7fefa6dcd255bf6f019

Tree: a15ee2b02e71f172ba46e95ee65fae1fe192b6e3

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Fix layout of diagnostic blocks (#3729)

Previously, all of the lines in a multi-line error message were painted
on top of each other. I also simplified the logic for highlighting
backtick-enclosed ranges in a diagnostic message.
```

## Parents

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

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

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