4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: When 'virtualedit' is set a "p" of a block just past the end of
12 the line inserts before the cursor. (Engelke)
13 Solution: Check for the cursor being just after the line (Chris Lubinski)
17 *** ../vim-7.1.017/src/ops.c Thu May 10 20:34:55 2007
18 --- src/ops.c Tue Jun 19 22:40:45 2007
22 #ifdef FEAT_VIRTUALEDIT
23 col += curwin->w_cursor.coladd;
24 ! if (ve_flags == VE_ALL && curwin->w_cursor.coladd > 0)
26 if (dir == FORWARD && c == NUL)
30 #ifdef FEAT_VIRTUALEDIT
31 col += curwin->w_cursor.coladd;
32 ! if (ve_flags == VE_ALL
33 ! && (curwin->w_cursor.coladd > 0
34 ! || endcol2 == curwin->w_cursor.col))
36 if (dir == FORWARD && c == NUL)
38 *** ../vim-7.1.017/src/version.c Thu Jun 28 21:57:08 2007
39 --- src/version.c Thu Jun 28 22:12:49 2007
43 { /* Add new patch number below this line */
50 MORTICIAN: Who's that then?
51 CUSTOMER: I don't know.
52 MORTICIAN: Must be a king.
54 MORTICIAN: He hasn't got shit all over him.
55 The Quest for the Holy Grail (Monty Python)
57 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
58 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
59 \\\ download, build and distribute -- http://www.A-A-P.org ///
60 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///