I'm gonna need to do better version of this for my UI Editor's memo component. What is still needed is character checks to not print characters under #32, #13 to force a line change and #32 to make a "delayed line change" which i thought of using another temp string for current line.

Edit: Actually... there may be some automatic kind of wrapping on TStringList, in addition to already premade lines. So it should be easier than what i wrote above.