# Fix panic when deleting an empty line after a deleted hunk \(\#24255\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 5a955e208ce514e4c59b6318e9affc7b380ed01a

Requested commit: 5a955e208ce514e4c59b6318e9affc7b380ed01a

Commit: 5a955e208ce514e4c59b6318e9affc7b380ed01a

Tree: b75fe3d1b454e478c326945cbf1d0c0c5c7ab5fb

Author: Cole Miller

Committer: GitHub

## Message

```
Fix panic when deleting an empty line after a deleted hunk (#24255)

Release Notes:

- Fix a panic when deleting text after a deletion hunk
```

## Parents

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

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