@@ -861,7 +861,7 @@ impl Document {
861861 let mut history = self.history.take();
862862 let txn = if undo { history.undo() } else { history.redo() };
863863 let success = if let Some(txn) = txn {
864− self.apply_impl(txn, view.id) && view.apply(txn, self)
864+ self.apply_impl(txn, view.id)
865865 } else {
866866 false
867867 };
@@ -902,7 +902,7 @@ impl Document {
902902 };
903903 let mut success = false;
904904 for txn in txns {
905− if self.apply_impl(&txn, view.id) && view.apply(&txn, self) {
905+ if self.apply_impl(&txn, view.id) {
906906 success = true;
907907 }
908908 }