On 04/11/2011 06:15 PM, Tommaso Cucinotta wrote:
Hi,
when replacing with advanced find and replace, and instant preview is
active, the preview-ed math elements don't get updated with the
replaced contents.
How can this be fixed ?
I guess that, at the end of findAndReplace() in lyxfind.cpp at line
1345, I'm missing something to update the previewed insets that have
been affected by the replace operation. For now I have a
bv->processUpdateFlags(Update::Force);
which is obviously insufficient.
Try bv->forceBufferUpdate(). Might work.
rh