vim-patch: 7.4.381

Problem:    Get u_undo error when backspacing in Insert mode deletes more than
            one line break. (Ayberk Ozgur)
Solution:   Also decrement Insstart.lnum.

https://code.google.com/p/vim/source/detail?r=v7-4-381
This commit is contained in:
Shougo Matsushita
2014-09-18 20:08:42 +09:00
parent a447160a6c
commit 3b9a44fbea
2 changed files with 2 additions and 1 deletions

View File

@@ -7267,6 +7267,7 @@ static int ins_bs(int c, int mode, int *inserted_space_p)
} }
--Insstart_orig.lnum; --Insstart_orig.lnum;
Insstart_orig.col = MAXCOL; Insstart_orig.col = MAXCOL;
Insstart = Insstart_orig;
} }
/* /*
* In replace mode: * In replace mode:

View File

@@ -214,7 +214,7 @@ static int included_patches[] = {
//384 NA //384 NA
//383, //383,
//382, //382,
//381, 381,
//380 NA //380 NA
//379, //379,
//378, //378,