@@ -870,6 +870,8 @@ impl Document {
870870 if success {
871871 // reset changeset to fix len
872872 self.changes = ChangeSet::new(self.text());
873+ // Sync with changes with the jumplist selections.
874+ view.sync_changes(self);
873875 }
874876 success
875877 }
@@ -909,6 +911,8 @@ impl Document {
909911 if success {
910912 // reset changeset to fix len
911913 self.changes = ChangeSet::new(self.text());
914+ // Sync with changes with the jumplist selections.
915+ view.sync_changes(self);
912916 }
913917 success
914918 }