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>
e51d469025Kyle Kelley committed on 7/11/2024, 6:21:41 PM· committed by GitHubparent018a2a2
4 files changedLine totals unavailable