Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Review
Conrad Irwin9cb0ce7745fe
diff --git a/crates/editor/src/selections_collection.rs b/crates/editor/src/selections_collection.rsindex 5f88eaecd89..1921bc0738e 100644--- a/crates/editor/src/selections_collection.rs+++ b/crates/editor/src/selections_collection.rs@@ -498,7 +498,6 @@ impl<'a> MutableSelectionsCollection<'a> {T: ToOffset + ToPoint + Ord + std::marker::Copy + std::fmt::Debug,{let buffer = self.buffer.read(self.cx).snapshot(self.cx);-selections.sort_unstable_by_key(|s| s.start);// Merge overlapping selections.let mut i = 1;