commit a7a143950a9c770be022b20cba760f5f9ef7b333
Author: Scott Kostyshak <[email protected]>
Date: Fri Nov 13 00:50:39 2015 -0500
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 66f527e417de916105680696bd44d7ad91ff60cb.
diff --git a/src/lyxfind.cpp b/src/lyxfind.cpp
index 2f7a0b4..f46bed9 100644
--- a/src/lyxfind.cpp
+++ b/src/lyxfind.cpp
@@ -385,7 +385,6 @@ bool lyxreplace(BufferView * bv,
else
bv->message(_("String not found."));
}
- bv->buffer().updatePreviews();
return update;
}