Handle windows-style line endings at the editing front, rather than the rendering front