In LyXText::setHeightOfRow, I read:

        /* this must not happen before the currentrow for clear reasons.
           so the trick is just to set the current row onto this row */
        int unused_y;
        getRow(row_ptr->par(), row_ptr->pos(), unused_y);

What does this do??? As far as I can read, getRow does not modify
anything but unused_y (which is truly unused). It does return a row,
but this is just lost.

This would not be a problem if this call did not consume 40% of render
time on large files :( [which is not surprising since it scans the
whole document to find a given row]

JMarc

Reply via email to