From ddc585317c0c6cda84189dd8502a72cc289736c5 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Thu, 19 May 2011 11:56:36 +0000 Subject: [PATCH] Revert r38779. I guess even the most innocent seeming of these will need more work. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38789 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/lyxfind.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lyxfind.cpp b/src/lyxfind.cpp index 3e937be4f4..762fcf7581 100644 --- a/src/lyxfind.cpp +++ b/src/lyxfind.cpp @@ -1346,6 +1346,7 @@ static void findAdvReplace(BufferView * bv, FindAndReplaceOptions const & opt, M cur.pos() = 0; LYXERR(Debug::FIND, "Putting selection at cur=" << cur << " with len: " << sel_len); bv->putSelectionAt(DocIterator(cur), sel_len, !opt.forward); + bv->processUpdateFlags(Update::Force); bv->buffer().updatePreviews(); } -- 2.39.2