mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-31 15:46:16 +00:00
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:
parent
55641a1a74
commit
df8e614237
@ -1223,6 +1223,7 @@ static void findAdvReplace(BufferView * bv, FindAndReplaceOptions const & opt, M
|
|||||||
bv->buffer().markDirty();
|
bv->buffer().markDirty();
|
||||||
cur.pos() -= repl_buffer.paragraphs().begin()->size();
|
cur.pos() -= repl_buffer.paragraphs().begin()->size();
|
||||||
bv->putSelectionAt(DocIterator(cur), repl_buffer.paragraphs().begin()->size(), !opt.forward);
|
bv->putSelectionAt(DocIterator(cur), repl_buffer.paragraphs().begin()->size(), !opt.forward);
|
||||||
|
bv->processUpdateFlags(Update::Force);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user