# editor: Fix panic on newline below with a cursor on deleted diff hunk \(\#58542\) · gitcafe/zed

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

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

Visibility: public

Requested revision: bb33fea1739f58866fd2b572058186a3514d8600

Requested commit: bb33fea1739f58866fd2b572058186a3514d8600

Commit: bb33fea1739f58866fd2b572058186a3514d8600

Tree: 97cdb3ed15cc376393c569c98e572f688020396f

Author: Smit Barmase

Committer: GitHub

## Message

```
editor: Fix panic on newline below with a cursor on deleted diff hunk (#58542)

Closes FR-62

Release Notes:

- Fixed crash on newline below with a cursor on a deleted line of a
diff.
```

## Parents

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

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