Word-Wrap in editor

It does not occur all the time; but from time to time while working in the editor, a word will not wrap. Instead it splits itself. Half will be at the end of the line and the rest of the word will be at the start of the following line.
The file exported correctly, but it is still messes me up when reading it in the editor. It occurred in full screen view as well.