vim-patch:8.0.0282 vim-patch:8.0.0291 (#7255)

vim-patch:8.0.0291

Problem:    Visual block insertion does not insert in all lines.
Solution:   Don't bail out of insert too early. Add a test. (Christian
            Brabandt, closes vim/vim#1290)

23fa81d222

vim-patch:8.0.0282

Problem:    When doing a Visual selection and using "I" to go to insert mode,
            CTRL-O needs to be used twice to go to Normal mode.
            (Coacher)
Solution:   Check for the return value of edit(). (Christian Brabandt,
            closes #1290)

0b5c93a7f2
This commit is contained in:
KunMing Xie
2017-09-10 18:21:52 +08:00
committed by Justin M. Keyes
parent d173d48177
commit 713a957e9c
4 changed files with 20 additions and 4 deletions

View File

@@ -2060,7 +2060,7 @@ void op_insert(oparg_T *oap, long count1)
}
t1 = oap->start;
edit(NUL, false, (linenr_T)count1);
(void)edit(NUL, false, (linenr_T)count1);
// When a tab was inserted, and the characters in front of the tab
// have been converted to a tab as well, the column of the cursor