jkunstle / rpms / vim

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