forked from qt-creator/qt-creator
Editor: only update annoations inside event rect
Change-Id: I61c2648734c3d5b3018215a83e7d4226905a6993 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -4637,8 +4637,8 @@ void TextEditorWidget::paintEvent(QPaintEvent *e)
|
||||
|
||||
d->paintAdditionalVisualWhitespaces(data, painter, blockData.boundingRect.top());
|
||||
d->paintReplacement(data, painter, blockData.boundingRect.top());
|
||||
}
|
||||
d->updateLineAnnotation(data, blockData, painter);
|
||||
}
|
||||
|
||||
data.offset.ry() += blockData.boundingRect.height();
|
||||
|
||||
|
Reference in New Issue
Block a user