# Invalidate anchors when they get deleted \(\#14116\) · gitcafe/zed

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

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

Visibility: public

Requested revision: e51d469025c8b0db79f858d891f56a69f1fc22b7

Requested commit: e51d469025c8b0db79f858d891f56a69f1fc22b7

Commit: e51d469025c8b0db79f858d891f56a69f1fc22b7

Tree: aea09c755a6b48b1eea987e52a2d790dc5840d64

Author: Kyle Kelley

Committer: GitHub

## Message

```
Invalidate anchors when they get deleted (#14116)

Allows deleting the outputs directly within the editor. This also fixes
the overlap logic to make sure that the ends and the starts are
compared.


https://github.com/zed-industries/zed/assets/836375/84f5f582-95f3-4c6a-a3c9-54da6009e34d

Release Notes:

- N/A

---------

Co-authored-by: Antonio <antonio@zed.dev>
```

## Parents

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

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