# Fix being unable to put a cursor after trailing deletion hunks \(\#26621\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 2eb4d6b7ebe43acd30ef998c635c4bb900261a74

Requested commit: 2eb4d6b7ebe43acd30ef998c635c4bb900261a74

Commit: 2eb4d6b7ebe43acd30ef998c635c4bb900261a74

Tree: 5abd93cbbad4ff40bdf8c2d485d455673817221d

Author: Cole Miller

Committer: GitHub

## Message

```
Fix being unable to put a cursor after trailing deletion hunks (#26621)

Closes #26541

Release Notes:

- Fixed a bug that prevented putting the cursor after a deletion hunk at
the end of a file, in the absence of trailing newlines

---------

Co-authored-by: Max <max@zed.dev>
```

## Parents

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

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