fix final failing tests

This commit is contained in:
Kay Simmons 2022-12-08 14:39:48 -08:00
parent f6f41510d2
commit 2cf48c03f9
6 changed files with 55 additions and 48 deletions

View file

@ -300,7 +300,7 @@ impl Item for Editor {
false
} else {
let nav_history = self.nav_history.take();
self.set_scroll_anchor(data.scroll_anchor, cx);
self.set_scroll_anchor(scroll_anchor, cx);
self.change_selections(Some(Autoscroll::fit()), cx, |s| {
s.select_ranges([offset..offset])
});