This command fixes this issue (somewhat): gsettings set org.gnome.gedit.preferences.editor ensure-trailing-newline false
By disabling the automatic addition of a last newline, gedit will show the actual last newline. I would argue that it's rather an issue of 'ensure-trailing-newline' being unintuitive. see: https://bugzilla.gnome.org/show_bug.cgi?id=625955 ** Bug watch added: bugzilla.gnome.org/ #625955 https://bugzilla.gnome.org/show_bug.cgi?id=625955 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/1621732 Title: gedit doesn't show last newline To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/1621732/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs