# Restore all active selections when undoing/redoing autoindent · gitcafe/zed

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

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

Visibility: public

Requested revision: 561857fdf232c466b0035ce6bca47725a3816db6

Requested commit: 561857fdf232c466b0035ce6bca47725a3816db6

Commit: 561857fdf232c466b0035ce6bca47725a3816db6

Tree: 2769bcddaec7356406bda30bb06b2679e84facbd

Author: Nathan Sobo

Committer: Nathan Sobo

## Message

```
Restore all active selections when undoing/redoing autoindent

In the unlikely event that we're handling autoindent requests from multiple editors, we undo/redo selections from both editors. This is somewhat imperfect but probably good enough and easier than performing auto-indents on a per-editor basis.

```

## Parents

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

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