Details
-
Bug
-
Resolution: Out of scope
-
P3: Somewhat important
-
4.4.0
-
None
Description
If you have a line like this:
cursor.insertText(QString().fill(' ', 100)+"?", format);
with the following wrap properties set:
textEdit->setWordWrapMode(QTextOption::WrapAnywhere);
textEdit->setLineWrapMode(QTextEdit::FixedColumnWidth);
textEdit->setLineWrapColumnOrWidth(10);
The whitespaces are printed 100 in a row, ignoring the column/width of 10.