upstream stated it's not a bug but a feature
you can change the behaviour with:
$ gsettings set org.gnome.gedit.preferences.editor ensure-trailing-newline false
** Changed in: gedit (Ubuntu)
Status: Confirmed => Invalid
--
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/1122424
Title:
gedit saves 1 byte to much
Status in Light-Weight Text Editor for Gnome:
Invalid
Status in “gedit” package in Ubuntu:
New
Bug description:
Ubuntu 12.10
- open file manager as root via "sudo nautilus"
- display properties of "/boot/grub/grubenv"
--> file size: 1.024 Bytes
- open file via double-click
- in gedit change 1 letter and save
- in gedit view document statistics
--> file size: 1.024 Bytes
- display properties again in nautilus
--> file size: 1.025 Bytes
This is strange I think!
To manage notifications about this bug go to:
https://bugs.launchpad.net/gedit/+bug/1122424/+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