scopatz / xo

exofrills text editor
http://exofrills.org/
Do What The F*ck You Want To Public License
98 stars 16 forks source link

Files grow by extra newline #8

Closed corranwebster closed 10 years ago

corranwebster commented 10 years ago

To replicate:

The file will have grown an extra newline at the end even if it has a newline at the end. This is probably a bug in the code that is supposed to ensure that a file always ends with a newline.

scopatz commented 10 years ago

Very true! Thanks for pointing this out @corranwebster. I'll try to get a fix out soon.

scopatz commented 10 years ago

Fixed! Also uploaded new version to pypi.