0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

updated for version 7.4.099

Problem:    Append in blockwise Visual mode with "$" is wrong.
Solution:   After "$" don't use the code that checks if the cursor was moved.
            (Hirohito Higashi, Ken Takata)
This commit is contained in:
Bram Moolenaar
2013-11-21 14:40:04 +01:00
parent d07c6e1e82
commit cafaa8a950
4 changed files with 24 additions and 1 deletions

View File

@@ -2643,7 +2643,7 @@ op_insert(oap, count1)
/* The user may have moved the cursor before inserting something, try
* to adjust the block for that. */
if (oap->start.lnum == curbuf->b_op_start.lnum)
if (oap->start.lnum == curbuf->b_op_start.lnum && !bd.is_MAX)
{
if (oap->op_type == OP_INSERT
&& oap->start.col != curbuf->b_op_start.col)