# editor: Fix crash caused by \`editor::SelectPrevious\` \(\#24660\) · gitcafe/zed

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

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

Visibility: public

Requested revision: bbea3a21844107c9b0dc73c186d654ef7818e906

Requested commit: bbea3a21844107c9b0dc73c186d654ef7818e906

Commit: bbea3a21844107c9b0dc73c186d654ef7818e906

Tree: 97f32e3408aa61260eeb119ca3062467056d2e6b

Author: smit

Committer: GitHub

## Message

```
editor: Fix crash caused by `editor::SelectPrevious` (#24660)

Closes #24345

Release Notes:

- Fixed a crash caused by calling `editor::SelectPrevious` twice in a
row.

Co-authored-by: conrad <conrad@zed.dev>
```

## Parents

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

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