pvk7 / vim

Automatically exported from code.google.com/p/vim
0 stars 0 forks source link

Pasting over visually selected line of new buffer not correctly undoable #134

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Steps to reproduce:
1. vim -u NONE -N
2. ifoo<ESC>yy
3. :ene!
4. Vp
5. u
6. :set modified?

Expected:
The buffer should be empty after undoing the paste over the visually selected 
line.

Instead:
The buffer retains the last line of what was pasted, even though the modified 
state is set to nomodified. No further undo is possible.

Version/OS tested:
1. VIM - Vi IMproved 7.3, 1-905, NetBSD
2. VIM - Vi IMproved 7.3, 1-762, Cygwin
3. VIM - Vi IMproved 7.3, 1-46, MS-Windows 32-bit GUI

Original issue reported on code.google.com by hkpt...@gmail.com on 22 May 2013 at 6:56

GoogleCodeExporter commented 9 years ago
Fixed by patch 7.3.1270

Original comment by brammool...@gmail.com on 29 Jun 2013 at 2:32