on master help sign in
Sync changes with view in undo/redo/earlier/later
commit2709ce33324cf6d4612c61609f336cf5937b6cac authorMichael Davis <mcarsondavis@gmail.com> dateSun 27 Nov 2022, 12:48 (4 years ago) parent53c2855
1 file changed+4
helix-view/src/document.rs+4
helix-view/src/document.rs+4
@@ -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 }