Fix update of document buffer on last replace operation.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36405 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Tommaso Cucinotta 2010-11-20 11:04:40 +00:00
parent 55641a1a74
commit df8e614237

View File

@ -1223,6 +1223,7 @@ static void findAdvReplace(BufferView * bv, FindAndReplaceOptions const & opt, M
bv->buffer().markDirty();
cur.pos() -= repl_buffer.paragraphs().begin()->size();
bv->putSelectionAt(DocIterator(cur), repl_buffer.paragraphs().begin()->size(), !opt.forward);
bv->processUpdateFlags(Update::Force);
}