Previously "ECHO:" messages were specifically added using QPlainTextEdit::appendPlainText so that newline and tab could work, but now all console messages are added with QPlainTextEdit::appendHtml which ignores whitespace.
appendHtml is needed for Warnings etc which use the html to color the text.
But since echo strings get html escaped (so <br> can't be used either), there's no way to print multiple lines from one echo.
The text was updated successfully, but these errors were encountered:
This used to work to insert a newline and tab in the GUI Console:
but looks like it got changed by 28d4a934
Previously "ECHO:" messages were specifically added using
QPlainTextEdit::appendPlainText
so that newline and tab could work, but now all console messages are added withQPlainTextEdit::appendHtml
which ignores whitespace.appendHtml
is needed for Warnings etc which use the html to color the text.But since echo strings get html escaped (so
<br>
can't be used either), there's no way to print multiple lines from one echo.The text was updated successfully, but these errors were encountered: