# Restore scroll after undo edit prediction \(\#31162\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 0d7f4842f32ab6a89e39ce8a201538b1a240d2b7

Requested commit: 0d7f4842f32ab6a89e39ce8a201538b1a240d2b7

Commit: 0d7f4842f32ab6a89e39ce8a201538b1a240d2b7

Tree: bc83fd5da6d621a5ccd0207bb7ac222bca5e7287

Author: Ben Kunkle

Committer: GitHub

## Message

```
Restore scroll after undo edit prediction (#31162)

Closes #29652

Release Notes:

- Fixed an issue where the scroll and cursor position would not be
restored after undoing an inline completion
```

## Parents

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

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