small fix to the fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8592 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Alfredo Braunstein 2004-04-02 22:20:49 +00:00
parent 0d47b55a84
commit 9ae9abddf8
2 changed files with 6 additions and 1 deletions

View File

@ -355,10 +355,11 @@ void BufferView::Pimpl::setBuffer(Buffer * b)
lyx::graphics::Previews::get().generateBufferPreviews(*buffer_);
}
bool BufferView::Pimpl::fitCursor()
{
// this is enough to get the right y cursor info for fitCursor
cursor_.top().text()->redoParagraph(cursor_.top().par());
cursor_[0].text()->redoParagraph(cursor_[0].par());
if (!screen().fitCursor(bv_))
return false;

View File

@ -1,4 +1,8 @@
2004-04-03 Alfredo Braunstein <abraunst@lyx.org>
* BufferView_pimpl.C (fitCursor): oversight
2004-04-03 Alfredo Braunstein <abraunst@lyx.org>
* cursor.[Ch] (LCursor): remove cached_y_ and updatePos