On Wed, Jan 07, 2004 at 09:07:24AM +0100, Andre' Poenitz wrote: > The reason is probably that the row cache is empty as the row was never > drawn. > > I am not sure how a proper solution would look like.
The attached patch paints over the problem... Andre'
Index: paragraph.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/paragraph.C,v retrieving revision 1.348 diff -u -p -r1.348 paragraph.C --- paragraph.C 1 Dec 2003 13:35:40 -0000 1.348 +++ paragraph.C 7 Jan 2004 08:09:00 -0000 @@ -64,7 +64,7 @@ using std::ostringstream; Paragraph::Paragraph() - : y(0), height(0), begin_of_body_(0), + : rows(1), y(0), height(0), begin_of_body_(0), pimpl_(new Paragraph::Pimpl(this)) { itemdepth = 0; @@ -73,7 +73,8 @@ Paragraph::Paragraph() Paragraph::Paragraph(Paragraph const & par) - : y(0), height(0), text_(par.text_), begin_of_body_(par.begin_of_body_), + : rows(par.rows), y(0), height(0), + text_(par.text_), begin_of_body_(par.begin_of_body_), pimpl_(new Paragraph::Pimpl(*par.pimpl_, this)) {