@@ -870,6 +870,8 @@ impl Document {
870 if success {
870 if success {
871 // reset changeset to fix len
871 // reset changeset to fix len
872 self.changes = ChangeSet::new(self.text());
872 self.changes = ChangeSet::new(self.text());
873+ // Sync with changes with the jumplist selections.
874+ view.sync_changes(self);
@@ -909,6 +911,8 @@ impl Document {
909 if success {
911 if success {
910 // reset changeset to fix len
912 // reset changeset to fix len
911 self.changes = ChangeSet::new(self.text());
913 self.changes = ChangeSet::new(self.text());
914+ // Sync with changes with the jumplist selections.
915+ view.sync_changes(self);