[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #57861] GUI editor should save text files with

From: Mike Miller
Subject: [Octave-bug-tracker] [bug #57861] GUI editor should save text files with an implied final newline character
Date: Sat, 22 Feb 2020 18:28:54 -0500 (EST)
User-agent: Mozilla/5.0 (Linux; Android 10; Pixel 2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.117 Mobile Safari/537.36

Follow-up Comment #12, bug #57861 (project octave):

I think it's just two different valid perspectives on how a plain text file
should be represented. I think an editor that shows the last newline in a file
is doing it wrong.

I am hoping for a switch between the two behaviors, so people who like
standard Unix file and editor semantics can have that, and people who want to
see the newline as an extra line at the end can have that.

The final newline in a file isn't "hidden" in my perspective, it's just that a
line always ends with a newline, if there's nothing after it then don't show a
blank line.


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]