# Improve deleted hunk blocks' behavior \(\#11340\) · gitcafe/zed

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

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

Visibility: public

Requested revision: cd03e473c890b965b1f8915bf602c5b1f1449a9b

Requested commit: cd03e473c890b965b1f8915bf602c5b1f1449a9b

Commit: cd03e473c890b965b1f8915bf602c5b1f1449a9b

Tree: 2be0f4c2a4838152756e85f808678ca74e862d11

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Improve deleted hunk blocks' behavior (#11340)

* clear their selections on focus lost
* allow reverting diff hunks when the caret is inside of the deleted
hunk diff editor block

Release Notes:

- N/A
```

## Parents

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

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