Commit abe4bff8 authored by Vicken Simonian's avatar Vicken Simonian Committed by David Schulz

Editor: Utilize Current Line Number background color

Task-number: QTCREATORBUG-12170
Change-Id: Ib27962a6f72b903fa2caadc441cd6ef51b5b1810
Reviewed-by: default avatarDavid Schulz <>
parent 6e584b5b
......@@ -3765,6 +3765,8 @@ void BaseTextEditorWidget::extraAreaPaintEvent(QPaintEvent *e)
if (currentLineNumberFormat.background() != Qt::NoBrush)
painter.fillRect(QRect(0, top, extraAreaWidth, height), currentLineNumberFormat.background().color());
painter.drawText(QRectF(markWidth, top, extraAreaWidth - markWidth - 4, height), Qt::AlignRight, number);
if (selected)
Markdown is supported
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