Commits

Bram Moolenaar  committed 2f07559

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)

  • Participants
  • Parent commits 5491cf1
  • Tags v7-3-396

Comments (0)

Files changed (2)

 	    && !oap->block_mode
 #endif
 	    && oap->line_count > 1
+	    && oap->motion_force == NUL
 	    && oap->op_type == OP_DELETE)
     {
 	ptr = ml_get(oap->end.lnum) + oap->end.col;

File src/version.c

 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    396,
+/**/
     395,
 /**/
     394,