fixes issue #83, where OS differences in line endings stop the live_editor from working properly
no OS specific solution required
catch both "\r\n" and "\r" cases
Merge pull request #146 from jf---/jf/live_editor_fix

OS differences in line endings stop the applib/live_editor from working