mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
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:
parent
3c4af0ffbf
commit
df0b5405bf
@ -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;
|
||||
|
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user