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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user