# Restore scroll position and selections when cancelling go-to-line · gitcafe/zed

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

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

Visibility: public

Requested revision: 1e49b56626247522779ff8272ecaf51a2efb64d5

Requested commit: 1e49b56626247522779ff8272ecaf51a2efb64d5

Commit: 1e49b56626247522779ff8272ecaf51a2efb64d5

Tree: 2262068b4a218c1b09ddf838406cc33c5804725c

Author: Nathan Sobo

Committer: Nathan Sobo

## Message

```
Restore scroll position and selections when cancelling go-to-line

But preserve the line when confirming.

```

## Parents

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

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