Sorry to bump this very old bug, but I found it very hard to find any help on this issue, so I wanted to post some more information here.
An upstream bug covering this issue can be found at <https://bugzilla.gnome.org/show_bug.cgi?id=625955>. @lowang: That plugin does not resolve the issue. It removes user- placed whitespace, but not the magical hidden newline at the end of the file. Does a plugin exist which can do this? Is such a thing even possible, given how Gedit inserts it? ** Bug watch added: GNOME Bug Tracker #625955 https://bugzilla.gnome.org/show_bug.cgi?id=625955 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/379367 Title: Gedit adding a newline at the end of file should be configurable Status in Light-Weight Text Editor for Gnome: New Status in “gedit” package in Ubuntu: Confirmed Bug description: Binary package hint: gedit Ggedit auto adds a newline at the end of file.I hope it can be configurable. I'm not a c/c++ developer, i'm php developer. but I use gedit for my php developing. Gedit auto adds a new line at the end of file, which will cause a problem when the program runs. I hope this action can be configurable. thanks~! ProblemType: Bug Architecture: i386 DistroRelease: Ubuntu 8.10 ExecutablePath: /usr/bin/gedit Package: gedit 2.24.2-0ubuntu1 ProcEnviron: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games LANG=zh_CN.UTF-8 SHELL=/bin/bash SourcePackage: gedit Uname: Linux 2.6.27-14-generic i686 To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/379367/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

