]> git.lyx.org Git - features.git/commitdiff
Revert r38779. I guess even the most innocent seeming of these will need more work.
authorRichard Heck <rgheck@comcast.net>
Thu, 19 May 2011 11:56:36 +0000 (11:56 +0000)
committerRichard Heck <rgheck@comcast.net>
Thu, 19 May 2011 11:56:36 +0000 (11:56 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38789 a592a061-630c-0410-9148-cb99ea01b6c8

src/lyxfind.cpp

index 3e937be4f40923ad7e046ccfa73b30ba30473d64..762fcf7581b3c504b59cadbcde59f04baf0b5468 100644 (file)
@@ -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();
 }