In Notepad, if there is no empty end line, you cannot select the last
end of line, so it is left on Delete (or Backspace).

Actually, I don't think such a character exists. What looks like a
'blank line' at the end of a document in Notepad is simply the position
after the final \n in the document. Notepad doesn't append a \n to every
line like Vim does, but represents only line-breaks. So if, in Notepad,
the final place you can put the cursor at what appears to be the
beginning of a line at the end of a document, that just indicates that
the \n of the line before is the last character in the document. If, on
the other hand, the last place you can position the cursor in Notepad is
at the end of some line of text, there is no final \n in the document at
all. It's a different conceptualisation of what \n means: Vim treats it
as EOL (end-of-line), whereas Notepad treats it as line-break (or,
actually, since on Windows we're talking \r\n we're talking here
CRLF--carriage return and line feed).

Ben.

--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui