Merge remote-tracking branch 'origin/main' into assistant-2
This commit is contained in:
commit
dc365472a6
26 changed files with 2222 additions and 1577 deletions
|
@ -4938,12 +4938,12 @@ impl Editor {
|
|||
}
|
||||
|
||||
fn push_to_nav_history(
|
||||
&self,
|
||||
&mut self,
|
||||
cursor_anchor: Anchor,
|
||||
new_position: Option<Point>,
|
||||
cx: &mut ViewContext<Self>,
|
||||
) {
|
||||
if let Some(nav_history) = &self.nav_history {
|
||||
if let Some(nav_history) = self.nav_history.as_mut() {
|
||||
let buffer = self.buffer.read(cx).read(cx);
|
||||
let cursor_position = cursor_anchor.to_point(&buffer);
|
||||
let scroll_state = self.scroll_manager.anchor();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue