jkunstle / rpms / vim

Forked from rpms/vim 3 years ago
Clone
073263
To: vim_dev@googlegroups.com
073263
Subject: Patch 7.4.381
073263
Fcc: outbox
073263
From: Bram Moolenaar <Bram@moolenaar.net>
073263
Mime-Version: 1.0
073263
Content-Type: text/plain; charset=UTF-8
073263
Content-Transfer-Encoding: 8bit
073263
------------
073263
073263
Patch 7.4.381
073263
Problem:    Get u_undo error when backspacing in Insert mode deletes more than
073263
	    one line break. (Ayberk Ozgur)
073263
Solution:   Also decrement Insstart.lnum.
073263
Files:	    src/edit.c
073263
073263
073263
*** ../vim-7.4.380/src/edit.c	2014-07-23 13:50:41.839956521 +0200
073263
--- src/edit.c	2014-07-23 17:35:05.747859751 +0200
073263
***************
073263
*** 8833,8838 ****
073263
--- 8833,8839 ----
073263
  		return FALSE;
073263
  	    --Insstart_orig.lnum;
073263
  	    Insstart_orig.col = MAXCOL;
073263
+ 	    Insstart = Insstart_orig;
073263
  	}
073263
  	/*
073263
  	 * In replace mode:
073263
*** ../vim-7.4.380/src/version.c	2014-07-23 16:56:56.587876204 +0200
073263
--- src/version.c	2014-07-23 17:38:54.467858107 +0200
073263
***************
073263
*** 736,737 ****
073263
--- 736,739 ----
073263
  {   /* Add new patch number below this line */
073263
+ /**/
073263
+     381,
073263
  /**/
073263
073263
-- 
073263
Friends?  I have lots of friends!  In fact, I have all episodes ever made.
073263
073263
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
073263
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
073263
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
073263
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///