Blame SOURCES/7.4.097

22c937
To: vim_dev@googlegroups.com
22c937
Subject: Patch 7.4.097
22c937
Fcc: outbox
22c937
From: Bram Moolenaar <Bram@moolenaar.net>
22c937
Mime-Version: 1.0
22c937
Content-Type: text/plain; charset=UTF-8
22c937
Content-Transfer-Encoding: 8bit
22c937
------------
22c937
22c937
Patch 7.4.097 (after 7.4.034)
22c937
Problem:    Unexpected behavior change related to 'virtualedit'. (Ingo Karkat)
22c937
Solution:   Update the valid cursor position. (Christian Brabandt)
22c937
Files:	    src/ops.c
22c937
22c937
22c937
*** ../vim-7.4.096/src/ops.c	2013-11-11 23:17:31.000000000 +0100
22c937
--- src/ops.c	2013-11-21 13:21:24.000000000 +0100
22c937
***************
22c937
*** 3844,3850 ****
22c937
--- 3844,3854 ----
22c937
  		    ml_replace(lnum, newp, FALSE);
22c937
  		    /* Place cursor on last putted char. */
22c937
  		    if (lnum == curwin->w_cursor.lnum)
22c937
+ 		    {
22c937
+ 			/* make sure curwin->w_virtcol is updated */
22c937
+ 			changed_cline_bef_curs();
22c937
  			curwin->w_cursor.col += (colnr_T)(totlen - 1);
22c937
+ 		    }
22c937
  		}
22c937
  #ifdef FEAT_VISUAL
22c937
  		if (VIsual_active)
22c937
*** ../vim-7.4.096/src/version.c	2013-11-21 12:34:07.000000000 +0100
22c937
--- src/version.c	2013-11-21 13:08:27.000000000 +0100
22c937
***************
22c937
*** 740,741 ****
22c937
--- 740,743 ----
22c937
  {   /* Add new patch number below this line */
22c937
+ /**/
22c937
+     97,
22c937
  /**/
22c937
22c937
-- 
22c937
The only way the average employee can speak to an executive is by taking a
22c937
second job as a golf caddie.
22c937
				(Scott Adams - The Dilbert principle)
22c937
22c937
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
22c937
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
22c937
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
22c937
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///