Comment 7 for bug 379367

Revision history for this message
Raf Schietekat (raf-schietekat) wrote : Re: gedit add a newline at the end of file.I hope it can be config

Another reason why the behaviour in the previous LTS 6.06 was appropriate and the vi-style behaviour in the current LTS 8.04 not: consistency. If I have a number of lines and want to move one, I select it by dragging from the beginning of the line to the beginning of the next line, cut, and then paste somewhere else, or do the same by dragging. If I decide to paste the line at the end of the file, I have to go to the end of the file, hit enter, paste, and then not forget to remove the pasted newline to avoid a double newline at the end of the file, unless perhaps if I know at the time of selecting and cutting the line that I'll be moving it to the end (select from end of previous line to end of line to be moved), unless it's the first line (no previous line to use as the start of the selection, which becomes especially awkward for drag-and-drop, because you then have to make sure to break the moved line in the correct place). Similar problems occur when moving the last line of the file. It's just all wrong... please roll this change back.