Fix bug #7091 and bug #7094

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36556 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2010-11-28 17:02:10 +00:00
parent 969529b25b
commit c5799b7019

View File

@ -1113,6 +1113,7 @@ void GuiApplication::dispatch(FuncRequest const & cmd)
// Actually, this test ought not to be done at all, since the
// whole InsetBibitem business is a mess. But that is a different
// story.
if (cursor.inTexted()) {
int const moveCursor = cursor.paragraph().checkBiblio(buf);
if (moveCursor > 0)
cursor.posForward();
@ -1123,6 +1124,7 @@ void GuiApplication::dispatch(FuncRequest const & cmd)
cursor.clearBufferUpdate();
buf.updateBuffer();
}
}
// BufferView::update() updates the ViewMetricsInfo and
// also initializes the position cache for all insets in
// (at least partially) visible top-level paragraphs.