# Preserve cursor position when resetting excerpts \(\#27850\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 76871056f5ace6575fc017e76b9dbc95ba2fe3f5

Requested commit: 76871056f5ace6575fc017e76b9dbc95ba2fe3f5

Commit: 76871056f5ace6575fc017e76b9dbc95ba2fe3f5

Tree: a950c2301a66e101ce46d68c14100536d9bda1be

Author: Antonio Scandurra

Committer: GitHub

## Message

```
Preserve cursor position when resetting excerpts (#27850)

Release Notes:

- N/A

---------

Co-authored-by: Nathan Sobo <nathan@zed.dev>
Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
```

## Parents

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

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