diff --git a/src/plugins/texteditor/basetexteditor.cpp b/src/plugins/texteditor/basetexteditor.cpp
index 8ed17087ec9a514a3dcef65b82c56bb4c9b2ac70..fca4b85065e04f49b4fe4305ea473ee76a542106 100644
--- a/src/plugins/texteditor/basetexteditor.cpp
+++ b/src/plugins/texteditor/basetexteditor.cpp
@@ -2467,8 +2467,7 @@ void BaseTextEditor::paintEvent(QPaintEvent *e)
                 const int selStart = range.cursor.selectionStart() - blpos;
                 const int selEnd = range.cursor.selectionEnd() - blpos;
                 if (selStart <= bllen && selEnd >= 0
-                    && selEnd >= selStart
-                    && !range.format.hasProperty(QTextFormat::FullWidthSelection)) {
+                    && selEnd >= selStart) {
                     QTextLayout::FormatRange o;
                     o.start = selStart;
                     o.length = selEnd - selStart;