Merge pull request #676 from zed-industries/highlighted-text-fix

Highlighted text fix
This commit is contained in:
Keith Simmons
2022-03-24 11:52:06 -07:00
committed by GitHub
15 changed files with 306 additions and 212 deletions
+1 -1
View File
@@ -827,7 +827,7 @@ fn test_random_collaboration(cx: &mut MutableAppContext, mut rng: StdRng) {
for buffer in &buffers {
let buffer = buffer.read(cx).snapshot();
let actual_remote_selections = buffer
.remote_selections_in_range(Anchor::min()..Anchor::max())
.remote_selections_in_range(Anchor::MIN..Anchor::MAX)
.map(|(replica_id, selections)| (replica_id, selections.collect::<Vec<_>>()))
.collect::<Vec<_>>();
let expected_remote_selections = active_selections