Remove invalid assertion in editor (#42210)

Release Notes:

- N/A
This commit is contained in:
Jakub Konka
2025-11-07 17:36:10 +00:00
committed by GitHub
parent 6cafe4a9c5
commit 93f9cff876
-1
View File
@@ -3366,7 +3366,6 @@ impl Editor {
other: Entity<Editor>,
cx: &mut Context<Self>,
) -> gpui::Subscription {
assert_eq!(self.buffer(), other.read(cx).buffer());
let other_selections = other.read(cx).selections.disjoint_anchors().to_vec();
if !other_selections.is_empty() {
self.selections