# Merge pull request \#604 from zed-industries/set-selections-assertion · gitcafe/zed

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

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

Visibility: public

Requested revision: 40a4c18ee4427ab22518d0bb1da403c40a3fe594

Requested commit: 40a4c18ee4427ab22518d0bb1da403c40a3fe594

Commit: 40a4c18ee4427ab22518d0bb1da403c40a3fe594

Tree: 7d4a19e6e83b73436c433580e80b6b0f0b300213

Author: Antonio Scandurra

Committer: GitHub

## Message

```
Merge pull request #604 from zed-industries/set-selections-assertion

Ensure there's at least one selection in `Editor::set_selections`
```

## Parents

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

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

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