Comment #7 on issue 287 by [email protected]: Newline substitution behaviour
https://code.google.com/p/vim/issues/detail?id=287

eliseoma,

Using my sample text above and running ':s/\n//' on the last line ("test"), I get:

<input the sample text in an empty buffer w/o final newline>
:changes
change line  col text
    1     4    3 test


In 7.4.231:

:s/\n//
:changes
change line  col text
    1     4    0 test


In 7.4.488:

:s/\n//
:changes
change line  col text
    1     4    4 test


The column position is updated by :s/\n// in each of pre- and post- 7.4.232, but to different values as shown.

Cheers,
John

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
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

--- You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui