0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

patch 7.4.1084

Problem:    Using "." to repeat CTRL-A in Visual mode increments the wrong
            numbers.
Solution:   Append right size to the redo buffer. (Ozaki Kiichi)
This commit is contained in:
Bram Moolenaar
2016-01-10 20:08:03 +01:00
parent 4514d2769b
commit e1edc1caba
3 changed files with 25 additions and 1 deletions

View File

@@ -3632,7 +3632,7 @@ prep_redo_visual(cap)
else if (curbuf->b_visual.vi_end.col > curbuf->b_visual.vi_start.col)
{
AppendNumberToRedobuff(curbuf->b_visual.vi_end.col
- curbuf->b_visual.vi_start.col - 1);
- curbuf->b_visual.vi_start.col);
AppendCharToRedobuff(' ');
}
}