mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
Now math previews are correctly updated when replacing math contents inside
through Advanced Find and Replace. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38355 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
bfddee97e1
commit
29948eec26
@ -1343,6 +1343,7 @@ static void findAdvReplace(BufferView * bv, FindAndReplaceOptions const & opt, M
|
|||||||
LYXERR(Debug::FIND, "Putting selection at cur=" << cur << " with len: " << sel_len);
|
LYXERR(Debug::FIND, "Putting selection at cur=" << cur << " with len: " << sel_len);
|
||||||
bv->putSelectionAt(DocIterator(cur), sel_len, !opt.forward);
|
bv->putSelectionAt(DocIterator(cur), sel_len, !opt.forward);
|
||||||
bv->processUpdateFlags(Update::Force);
|
bv->processUpdateFlags(Update::Force);
|
||||||
|
bv->buffer().updatePreviews();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user