To reproduce bug:
Set zoom to 150%, set cursor at the end of text and press enter about 10-15 times. New lines are added but cursor is in invisible area - scroll doesn't follow cursor - you have to manually scroll to see cursor again.
TEST data