@@ -861,7 +861,7 @@ impl Document {
861 let mut history = self.history.take();
861 let mut history = self.history.take();
862 let txn = if undo { history.undo() } else { history.redo() };
862 let txn = if undo { history.undo() } else { history.redo() };
863 let success = if let Some(txn) = txn {
863 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)
@@ -902,7 +902,7 @@ impl Document {
903 let mut success = false;
903 let mut success = false;
904 for txn in txns {
904 for txn in txns {
905− if self.apply_impl(&txn, view.id) && view.apply(&txn, self) {
905+ if self.apply_impl(&txn, view.id) {
906 success = true;
906 success = true;