Save cursor scroll position when the editor is auto-scrolled
This commit is contained in:
parent
1aa1774688
commit
56b0bf8601
5 changed files with 29 additions and 16 deletions
|
@ -294,7 +294,7 @@ impl FollowableItem for Editor {
|
|||
match event {
|
||||
Event::Edited => true,
|
||||
Event::SelectionsChanged { local } => *local,
|
||||
Event::ScrollPositionChanged { local } => *local,
|
||||
Event::ScrollPositionChanged { local, .. } => *local,
|
||||
_ => false,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue