diff options
author | Serhii Moroz <frost.asm@gmail.com> | 2017-08-18 18:58:51 +0300 |
---|---|---|
committer | Serhii Moroz <frost.asm@gmail.com> | 2017-09-19 13:48:06 +0000 |
commit | 0bf27af0a718887248229b9693de16f150a38bf3 (patch) | |
tree | 7598bbb31da019542d32549b3b3fd0b49e46dfd8 | |
parent | a627f4eef73fa80abc91863fbebd8ce28e73bfb4 (diff) | |
download | qt-creator-0bf27af0a718887248229b9693de16f150a38bf3.tar.gz |
TextEditor: Fix blockSelection painting in "Text Wrapping" mode
Change-Id: I1ba4587ce4f8e88a1c81c5ac3c9d6dac582bd71f
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
-rw-r--r-- | src/plugins/texteditor/texteditor.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/texteditor/texteditor.cpp b/src/plugins/texteditor/texteditor.cpp index 06f02615eb..f237c0f7ed 100644 --- a/src/plugins/texteditor/texteditor.cpp +++ b/src/plugins/texteditor/texteditor.cpp @@ -4298,7 +4298,6 @@ void TextEditorWidget::paintEvent(QPaintEvent *e) for (int i = line.lineNumber() + 1; i < eline.lineNumber(); ++i) { rr = layout->lineAt(i).naturalTextRect(); rr.moveTop(rr.top() + r.top()); - rr.setLeft(r.left() + x); painter.fillRect(rr, palette().highlight()); } |