Open Stinkfist0 opened 10 years ago
Its probably calling QString::Simplified which removes all extra whitespace/newlines from the string. Why is it important to get spacing into UI console. The indents will show fine in cmd propt which is what you should be using for this kind of stuff. I assume indenting is only important for getting somwhat structured debug prints.
For indentations it's not that critical but f.ex. an XML becomes a horrible one-liner to read or reuse. Also copy-pasting from the native console is much more annoying compared to the QTextEdit.
As a matter of fact we should just make the font monospace. Otherwise even if the whitespace would be there, it would look horrible. Good old Courier New 10-12px +1 :D Should be a trivial stylesheet change away.
f.ex. printing
appears as
in the GUI console. Also f.ex. newlines are omitted.