# Fix crash in BlockMap::sync when there are inlay hints w/ newlines ri… \(\#25598\) · gitcafe/zed

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

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

Visibility: public

Requested revision: d68d858a10aab3ee14bf95a20208d3733438df10

Requested commit: d68d858a10aab3ee14bf95a20208d3733438df10

Commit: d68d858a10aab3ee14bf95a20208d3733438df10

Tree: f496d462511bce1e133b73157385234556d19b00

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Fix crash in BlockMap::sync when there are inlay hints w/ newlines ri… (#25598)

Closes https://github.com/zed-industries/zed/issues/25377

Release Notes:

- Fixed a crash that could happen when typing in the assistant panel
with edit predictions enabled.

---------

Co-authored-by: Cole Miller <m@cole-miller.net>
```

## Parents

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

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