This wasn't intended to go in. Revert ...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9622 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2005-02-14 08:24:16 +00:00
parent 3c4af0ffbf
commit df0b5405bf
2 changed files with 4 additions and 5 deletions

View File

@ -1270,20 +1270,15 @@ ViewMetricsInfo BufferView::Pimpl::metrics()
// Redo paragraphs below cursor if necessary
int y2 = y0;
lyxerr << "y2 (1): " << y2 << endl;
while (y2 < bv.workHeight() && pit2 < int(npit) - 1) {
y2 += text->getPar(pit2).descent();
lyxerr << "y2 (2): " << y2 << endl;
++pit2;
text->redoParagraph(pit2);
y2 += text->getPar(pit2).ascent();
lyxerr << "y2 (3): " << y2 << endl;
}
// Take care of descent of last line
y2 += text->getPar(pit2).descent();
lyxerr << "text->getPar(pit2).descent(): " << text->getPar(pit2).descent() << endl;
lyxerr << "y2 (4): " << y2 << endl;
// The coordinates of all these paragraphs are correct, cache them
int y = y1;

View File

@ -1,3 +1,7 @@
2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
* BufferView_pimpl.C: revert accidental commit.
2005-02-14 André Pönitz <poenitz@gmx.net>
* dociterator.[Ch]: new member forwardPosNoDescent(),