Revert "Remove into SelectionEffects from .change_selections"
This reverts commit 28380d714d.
This commit is contained in:
@@ -8,7 +8,6 @@ use crate::{
|
||||
};
|
||||
use anyhow::Context as _;
|
||||
use collections::{HashMap, HashSet};
|
||||
use editor::SelectionEffects;
|
||||
use editor::{
|
||||
Anchor, AnchorRangeExt as _, Editor, MultiBuffer, ToPoint,
|
||||
display_map::{
|
||||
@@ -478,7 +477,7 @@ impl Session {
|
||||
if move_down {
|
||||
editor.update(cx, move |editor, cx| {
|
||||
editor.change_selections(
|
||||
SelectionEffects::scroll(Autoscroll::top_relative(8)),
|
||||
Some(Autoscroll::top_relative(8)),
|
||||
window,
|
||||
cx,
|
||||
|selections| {
|
||||
|
||||
Reference in New Issue
Block a user