New line in TextEditor



I use a TextEditor for log messages.
I insert the text like this:

String str;
str << "text\n";

But the \n is not recognized and I dont have a new line after inserting the String.

The String stuff changed. What do I have to use to get a new line?



Look at TextEditor::setMultiline


It is already set to multiline.

The point is that the \n is not recognized. This worked a few commits ago.

I have checked it with the commit before String refactoring and the \n works.


Whoops! Sorry, looks like I missed out a bracket in there! Thanks for tracking that down and letting me know, I’ll upload a fix in a few minutes…