Remove invalid assertion in editor (#42210)

Release Notes:

- N/A
This commit is contained in:
Jakub Konka authored and GitHub committed 2025-11-07 17:36:10 +00:00
1 parent 24a8c936a2
commit edcf851165
1 file changed
-1
-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