]> git.lyx.org Git - features.git/commitdiff
Update comment.
authorAbdelrazak Younes <younes@lyx.org>
Tue, 28 Aug 2007 18:30:15 +0000 (18:30 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Tue, 28 Aug 2007 18:30:15 +0000 (18:30 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19870 a592a061-630c-0410-9148-cb99ea01b6c8

src/TextMetrics.cpp

index 1a8b0a6ecc1d7661bd6840ff021270e260543a5c..7ed1a00ca712c40549516eb752f17f131651fac3 100644 (file)
@@ -1003,9 +1003,8 @@ void TextMetrics::drawParagraph(PainterInfo & pi, pit_type pit, int x, int y,
                // Row signature; has row changed since last paint?
                bool row_has_changed = pm.rowChangeStatus()[rowno];
 
-               // If selection is on, the current row signature differs
-               // from cache, or cursor is inside an inset _on this row_,
-               // then paint the row
+               // Paint the row if a full repaint has been requested or it has
+               // changed.
                if (repaintAll || row_has_changed) {
                        bool const inside = (y + rit->descent() >= 0
                                && y - rit->ascent() < ww);