mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.3.396
Problem: After forcing an operator to be characterwise it can still become linewise when spanning whole lines. Solution: Don't make the operator linewise when motion_force was set. (Christian Brabandt)
This commit is contained in:
@@ -1648,6 +1648,7 @@ op_delete(oap)
|
|||||||
&& !oap->block_mode
|
&& !oap->block_mode
|
||||||
#endif
|
#endif
|
||||||
&& oap->line_count > 1
|
&& oap->line_count > 1
|
||||||
|
&& oap->motion_force == NUL
|
||||||
&& oap->op_type == OP_DELETE)
|
&& oap->op_type == OP_DELETE)
|
||||||
{
|
{
|
||||||
ptr = ml_get(oap->end.lnum) + oap->end.col;
|
ptr = ml_get(oap->end.lnum) + oap->end.col;
|
||||||
|
@@ -714,6 +714,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
396,
|
||||||
/**/
|
/**/
|
||||||
395,
|
395,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user