Revert "Update previews after doing a find/replace (#7242)"

Updating all previews (even if only one has changed) is more costly
than I thought. Thanks to Guillaume for tracking down this
performance issue.

This reversion is related to the reversion at 358745d0.
See also #7242 and #9855.

This reverts commit 66f527e417.
This commit is contained in:
Scott Kostyshak 2015-11-13 00:50:39 -05:00
parent 6a4d36b51e
commit a7a143950a

View File

@ -385,7 +385,6 @@ bool lyxreplace(BufferView * bv,
else
bv->message(_("String not found."));
}
bv->buffer().updatePreviews();
return update;
}