Ok
Once the example text box was created with the sizes in the example I added random test after a single line:
TEST LINE
weifjo fjeoijewfoij ewfoijewofij ewofijfj oiewfo ijwfe oijewf oijewofijewofi jew fjfje ofj
I then went to the beginning of the text after the "TEST LINE" and pressed right 2-4 times and then bit spacebar. I would check if the output shows 5 lines instead of 4. If it is ok I would continue this process until the bug happened. It usually didn't take long to get a case that had 5 lines. Also try adding more than one space each time too.
This is the actual text that failed in the example I sent:
we if jo ew fji o ijwefoijo weofij oiewf oijow fejoiw efoijjoi jewofji oij ewfji ojioij oiwfe oijoiwfje oijwef oijoiiwefj oij ewfoij ofewj wef
And this results in the output in the attachment where there is a single "f" in the middle causing the problem.
I'm using Windows if that has any bearing on it. Could it be related to what is defined as a new line? A \n or a \n\r etc?