# jsx-tag-auto-close: Remove potential source of bugs and panics \(\#28119\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 2747915569e5c1c781e32f3028c485c67d9edb46

Requested commit: 2747915569e5c1c781e32f3028c485c67d9edb46

Commit: 2747915569e5c1c781e32f3028c485c67d9edb46

Tree: a487c1c1d3a2c8191f668f3563079c3e7b73e0d4

Author: Ben Kunkle

Committer: GitHub

## Message

```
jsx-tag-auto-close: Remove potential source of bugs and panics (#28119)

Switch to using anchors for storing edited ranges rather than offsets as
they have to be used with multiple buffer snapshots

Release Notes:

- N/A
```

## Parents

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

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