mirror of
https://github.com/zed-industries/zed.git
synced 2024-09-19 18:41:56 +03:00
Review
This commit is contained in:
parent
0c15ef7305
commit
9cb0ce7745
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user