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
This commit is contained in:
Richard Heck 2011-05-19 11:56:36 +00:00
parent b5828f9df4
commit ddc585317c

View 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();
}