So weird. I just don't know what to tell you.
The text editor "widget" is provided by Android, all of it, including text entry, word wrap, actual drawing on the screen, etc.
Maybe it's the soft keyboard, can you temporarily switch to a different one?