mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Revert "Now math previews are correctly updated when replacing math contents inside"
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 reversions at358745d0
anda7a14395
. See also #7242 and #9855. This reverts commit29948eec26
.
This commit is contained in:
parent
a7a143950a
commit
62190855bf
@ -1425,7 +1425,6 @@ static void findAdvReplace(BufferView * bv, FindAndReplaceOptions const & opt, M
|
||||
LYXERR(Debug::FIND, "After pos adj cur=" << cur << " with depth: " << cur.depth() << " and len: " << sel_len);
|
||||
bv->putSelectionAt(DocIterator(cur), sel_len, !opt.forward);
|
||||
bv->processUpdateFlags(Update::Force);
|
||||
bv->buffer().updatePreviews();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user