diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs index d7b1e54735..42b2fe30a1 100644 --- a/crates/editor/src/editor.rs +++ b/crates/editor/src/editor.rs @@ -3021,7 +3021,7 @@ impl Editor { .downcast::() .unwrap(); target_editor.update(cx, |target_editor, cx| { - target_editor.select_ranges([range], Some(Autoscroll::Fit), cx); + target_editor.select_ranges([range], Some(Autoscroll::Center), cx); }); } });