Revert "Open folds containing selections when jumping from multibuffer (#21433)" (#21566)

This reverts commit dc32ab25a0.

This has been causing panics, backing it out while figuring out what's
up.

Release Notes:

- N/A
This commit is contained in:
Cole Miller 2024-12-04 19:26:09 -05:00 committed by GitHub
parent 31c976d8d9
commit b9c390c22e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 70 deletions

View file

@ -12925,7 +12925,6 @@ impl Editor {
None => Autoscroll::newest(),
};
let nav_history = editor.nav_history.take();
editor.unfold_ranges(&ranges, false, true, cx);
editor.change_selections(Some(autoscroll), cx, |s| {
s.select_ranges(ranges);
});