From a7a143950a9c770be022b20cba760f5f9ef7b333 Mon Sep 17 00:00:00 2001 From: Scott Kostyshak Date: Fri, 13 Nov 2015 00:50:39 -0500 Subject: [PATCH] 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. --- src/lyxfind.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lyxfind.cpp b/src/lyxfind.cpp index 2f7a0b4901..f46bed9ac5 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; } -- 2.39.2