Gedit adds line at end of file
The answer to this must be somewhere but I'm not finding it -- can anyone help me understand why in Gedit, if I have a page of code there is no extra trailing blank line, but then when I do a file comparison for my svn commit it shows an extra line being added at the end of the file? I have a feeling that Gedit is automatically adding an ending line break. But why, I have no idea... Reality finally won and it's been fixed , but the broken behavior is still the default; enable the WYSIWYG behavior in a terminal with gsettings set org.gnome.gedit.preferences.editor ensure-trailing-newline false