From: Abdelrazak Younes Date: Tue, 28 Aug 2007 18:30:15 +0000 (+0000) Subject: Update comment. X-Git-Tag: 1.6.10~8648 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=34aba4a42bc052fbd456b98542eba9a618fb906b;p=features.git Update comment. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19870 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/TextMetrics.cpp b/src/TextMetrics.cpp index 1a8b0a6ecc..7ed1a00ca7 100644 --- a/src/TextMetrics.cpp +++ b/src/TextMetrics.cpp @@ -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);