From 34aba4a42bc052fbd456b98542eba9a618fb906b Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Tue, 28 Aug 2007 18:30:15 +0000 Subject: [PATCH] Update comment. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19870 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/TextMetrics.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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); -- 2.39.5