|
Karsten Hopp |
71a728 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
71a728 |
Subject: Patch 7.4.640
|
|
Karsten Hopp |
71a728 |
Fcc: outbox
|
|
Karsten Hopp |
71a728 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
71a728 |
Mime-Version: 1.0
|
|
Karsten Hopp |
71a728 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
71a728 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
71a728 |
------------
|
|
Karsten Hopp |
71a728 |
|
|
Karsten Hopp |
71a728 |
Patch 7.4.640
|
|
Karsten Hopp |
71a728 |
Problem: After deleting characters in Insert mode such that lines are
|
|
Karsten Hopp |
71a728 |
joined undo does not work properly. (issue 324)
|
|
Karsten Hopp |
71a728 |
Solution: Use Insstart instead of Insstart_orig. (Christian Brabandt)
|
|
Karsten Hopp |
71a728 |
Files: src/edit.c
|
|
Karsten Hopp |
71a728 |
|
|
Karsten Hopp |
71a728 |
|
|
Karsten Hopp |
71a728 |
*** ../vim-7.4.639/src/edit.c 2015-01-22 22:40:16.341651464 +0100
|
|
Karsten Hopp |
71a728 |
--- src/edit.c 2015-02-17 17:44:44.222631598 +0100
|
|
Karsten Hopp |
71a728 |
***************
|
|
Karsten Hopp |
71a728 |
*** 8842,8848 ****
|
|
Karsten Hopp |
71a728 |
*/
|
|
Karsten Hopp |
71a728 |
if (curwin->w_cursor.col == 0)
|
|
Karsten Hopp |
71a728 |
{
|
|
Karsten Hopp |
71a728 |
! lnum = Insstart_orig.lnum;
|
|
Karsten Hopp |
71a728 |
if (curwin->w_cursor.lnum == lnum
|
|
Karsten Hopp |
71a728 |
#ifdef FEAT_RIGHTLEFT
|
|
Karsten Hopp |
71a728 |
|| revins_on
|
|
Karsten Hopp |
71a728 |
--- 8842,8848 ----
|
|
Karsten Hopp |
71a728 |
*/
|
|
Karsten Hopp |
71a728 |
if (curwin->w_cursor.col == 0)
|
|
Karsten Hopp |
71a728 |
{
|
|
Karsten Hopp |
71a728 |
! lnum = Insstart.lnum;
|
|
Karsten Hopp |
71a728 |
if (curwin->w_cursor.lnum == lnum
|
|
Karsten Hopp |
71a728 |
#ifdef FEAT_RIGHTLEFT
|
|
Karsten Hopp |
71a728 |
|| revins_on
|
|
Karsten Hopp |
71a728 |
***************
|
|
Karsten Hopp |
71a728 |
*** 8852,8860 ****
|
|
Karsten Hopp |
71a728 |
if (u_save((linenr_T)(curwin->w_cursor.lnum - 2),
|
|
Karsten Hopp |
71a728 |
(linenr_T)(curwin->w_cursor.lnum + 1)) == FAIL)
|
|
Karsten Hopp |
71a728 |
return FALSE;
|
|
Karsten Hopp |
71a728 |
! --Insstart_orig.lnum;
|
|
Karsten Hopp |
71a728 |
! Insstart_orig.col = MAXCOL;
|
|
Karsten Hopp |
71a728 |
! Insstart = Insstart_orig;
|
|
Karsten Hopp |
71a728 |
}
|
|
Karsten Hopp |
71a728 |
/*
|
|
Karsten Hopp |
71a728 |
* In replace mode:
|
|
Karsten Hopp |
71a728 |
--- 8852,8859 ----
|
|
Karsten Hopp |
71a728 |
if (u_save((linenr_T)(curwin->w_cursor.lnum - 2),
|
|
Karsten Hopp |
71a728 |
(linenr_T)(curwin->w_cursor.lnum + 1)) == FAIL)
|
|
Karsten Hopp |
71a728 |
return FALSE;
|
|
Karsten Hopp |
71a728 |
! --Insstart.lnum;
|
|
Karsten Hopp |
71a728 |
! Insstart.col = MAXCOL;
|
|
Karsten Hopp |
71a728 |
}
|
|
Karsten Hopp |
71a728 |
/*
|
|
Karsten Hopp |
71a728 |
* In replace mode:
|
|
Karsten Hopp |
71a728 |
*** ../vim-7.4.639/src/version.c 2015-02-17 17:26:04.565123636 +0100
|
|
Karsten Hopp |
71a728 |
--- src/version.c 2015-02-17 17:49:06.787232425 +0100
|
|
Karsten Hopp |
71a728 |
***************
|
|
Karsten Hopp |
71a728 |
*** 743,744 ****
|
|
Karsten Hopp |
71a728 |
--- 743,746 ----
|
|
Karsten Hopp |
71a728 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
71a728 |
+ /**/
|
|
Karsten Hopp |
71a728 |
+ 640,
|
|
Karsten Hopp |
71a728 |
/**/
|
|
Karsten Hopp |
71a728 |
|
|
Karsten Hopp |
71a728 |
--
|
|
Karsten Hopp |
71a728 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
71a728 |
245. You use Real Audio to listen to a radio station from a distant
|
|
Karsten Hopp |
71a728 |
city rather than turn on your stereo system.
|
|
Karsten Hopp |
71a728 |
|
|
Karsten Hopp |
71a728 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
71a728 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
71a728 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
71a728 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|