Commit 71c6f32e authored by Daniel Teske's avatar Daniel Teske Committed by Eike Ziller
Browse files

Editor: Fix one pixel offset for folded block preview

Task-number: QTCREATORBUG-5168
Change-Id: I89a9949227e11053dfa2436ae6b0c017c465906c
Reviewed-by: default avatarEike Ziller <>
parent 6ea8550d
......@@ -3939,7 +3939,7 @@ void BaseTextEditorWidget::paintEvent(QPaintEvent *e)
if (!block.isVisible()) {
if (block.blockNumber() == d->visibleFoldedBlockNumber) {
visibleCollapsedBlock = block;
visibleCollapsedBlockOffset = offset + QPointF(0,1);
visibleCollapsedBlockOffset = offset;
// invisible blocks do have zero line count
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment