# Merge pull request \#335 from zed-industries/fix-refresh-selections · gitcafe/zed

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

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

Visibility: public

Requested revision: 67991b413c94f4912271db528bcda9c82ecae5df

Requested commit: 67991b413c94f4912271db528bcda9c82ecae5df

Commit: 67991b413c94f4912271db528bcda9c82ecae5df

Tree: 66afa611acfc66fa08da9ef858e83209decb48e8

Author: Antonio Scandurra

Committer: GitHub

## Message

```
Merge pull request #335 from zed-industries/fix-refresh-selections

Fix panic in `Editor::refresh_selections` due to calling `summaries_for_anchors` without sorting the anchors
```

## Parents

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

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

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