# Properly store editor restoration data \(\#28296\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 1264e7a200e62f5f1df757aa9a2b0fd2ebeb231c

Requested commit: 1264e7a200e62f5f1df757aa9a2b0fd2ebeb231c

Commit: 1264e7a200e62f5f1df757aa9a2b0fd2ebeb231c

Tree: add3b8e318c16f48686090b4a34831e3ab35105c

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Properly store editor restoration data (#28296)

We cannot compare versions and anchors between different `Buffer`s with
different `BufferId`s.

Release Notes:

- Fixed Zed panicking on editor reopen

Co-authored-by: Conrad Irwin <conrad@zed.dev>
```

## Parents

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

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