It's not a bug, it's a feature.

In the Unix world, a line of text ends with the <newline> character, by
definition. A file consisting solely of the four-byte sequence "foo\n"
contains only one line. And this is what gedit *correctly* shows.

See "Why should text files end with a newline?":
https://stackoverflow.com/questions/729692

The proposed fix makes it very easy to create invalid text files, which
is fine if that is really what the use wants, but it is a good thing
that it is not the default behavior.

The bug status should be changed to "invalid".

** Changed in: gedit (Ubuntu)
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to