Trunk and branch: Open a new file; type some words, now something in quotes. Keep typing. When you get to the next line, the quotes start to over-write themselves and get really bold, etc.

The problem is here, in TextMetrics::drawParagraph:
       // Don't paint the row if a full repaint has not been requested
       // and if it has not changed.
       if (!pi.full_repaint && !row_has_changed) {
           // Paint only the insets if the text itself is
           // unchanged.
           rp.paintOnlyInsets();
           y += row.descent();
           continue;
       }

       // Clear background of this row if paragraph background was not
       // already cleared because of a full repaint.
       if (!pi.full_repaint && row_has_changed) {
           pi.pain.fillRectangle(x, y - row.ascent(),
               width(), row.height(), pi.background_color);
       }
As you see, the row isn't cleared in the first case, so the "old" quotes are still there and get redrawn. It seems they do not get drawn exactly where they were. If they did, you probably wouldn't notice. So maybe that's the real problem. I don't know.

Anyway, this is stuff I don't understand.

rh

Reply via email to