# editor: Fix rare panic in wrap map \(\#39379\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 62e3a4921206f0b09d85815559c1f19c560ccf3d

Requested commit: 62e3a4921206f0b09d85815559c1f19c560ccf3d

Commit: 62e3a4921206f0b09d85815559c1f19c560ccf3d

Tree: 6edbc679af5448a757dbd9ef750b82c10944280e

Author: Finn Evers

Committer: GitHub

## Message

```
editor: Fix rare panic in wrap map (#39379)

Closes ZED-1SV
Closes ZED-TG
Closes ZED-22G
Closes ZED-22J

This seems to fix the reported error there, but ultimately, this might
benefit from a test to reproduce. Hence, marking as draft for now.

Release Notes:

- Fixed a rare panic whilst wrapping lines.
```

## Parents

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

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