# Revert "Preserve selection direction when running \`editor: open selections in multibuffer\`" \(\#32483\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 5270844b427fee21ef6d2237dea2f40aadb61412

Requested commit: 5270844b427fee21ef6d2237dea2f40aadb61412

Commit: 5270844b427fee21ef6d2237dea2f40aadb61412

Tree: 5ce158aee95643e1d3dc4e72f5f2be1e0992db11

Author: Joseph T\. Lyons

Committer: GitHub

## Message

```
Revert "Preserve selection direction when running `editor: open selections in multibuffer`" (#32483)

Reverts zed-industries/zed#31399

I found that in some cases, Zed will panic when using `editor: open
selections in multibuffer` if the selection is reversed. It doesn't
happen in most cases that I've tested, but in some strange edge cases
(that I dont fully understand ATM), it does. I'm reverting for now, as
the previous behavior is better than a panic, but will re-implement this
fix to preserving selection directions in a new PR with comprehensive
testing

Release Notes:

- N/A
```

## Parents

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

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