mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-05 18:25:57 +00:00
Enable auto-scroll when moving cursors in Editor::handle_input
Co-authored-by: Mikayla Maki <mikayla@zed.dev>
This commit is contained in:
parent
55576f879b
commit
137a9cefbd
1 changed files with 1 additions and 1 deletions
|
@ -2024,7 +2024,7 @@ impl Editor {
|
||||||
}
|
}
|
||||||
|
|
||||||
drop(snapshot);
|
drop(snapshot);
|
||||||
this.change_selections(None, cx, |s| s.select(new_selections));
|
this.change_selections(Some(Autoscroll::Fit), cx, |s| s.select(new_selections));
|
||||||
this.trigger_completion_on_input(&text, cx);
|
this.trigger_completion_on_input(&text, cx);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue