Karsten Hopp 254acb
To: vim_dev@googlegroups.com
Karsten Hopp 254acb
Subject: Patch 7.3.396
Karsten Hopp 254acb
Fcc: outbox
Karsten Hopp 254acb
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 254acb
Mime-Version: 1.0
Karsten Hopp 254acb
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 254acb
Content-Transfer-Encoding: 8bit
Karsten Hopp 254acb
------------
Karsten Hopp 254acb
Karsten Hopp 254acb
Patch 7.3.396
Karsten Hopp 254acb
Problem:    After forcing an operator to be characterwise it can still become
Karsten Hopp 254acb
	    linewise when spanning whole lines.
Karsten Hopp 254acb
Solution:   Don't make the operator linewise when motion_force was set.
Karsten Hopp 254acb
	    (Christian Brabandt)
Karsten Hopp 254acb
Files:	    src/ops.c
Karsten Hopp 254acb
Karsten Hopp 254acb
Karsten Hopp 254acb
*** ../vim-7.3.395/src/ops.c	2012-01-10 13:44:23.000000000 +0100
Karsten Hopp 254acb
--- src/ops.c	2012-01-10 13:28:05.000000000 +0100
Karsten Hopp 254acb
***************
Karsten Hopp 254acb
*** 1648,1653 ****
Karsten Hopp 254acb
--- 1648,1654 ----
Karsten Hopp 254acb
  	    && !oap->block_mode
Karsten Hopp 254acb
  #endif
Karsten Hopp 254acb
  	    && oap->line_count > 1
Karsten Hopp 254acb
+ 	    && oap->motion_force == NUL
Karsten Hopp 254acb
  	    && oap->op_type == OP_DELETE)
Karsten Hopp 254acb
      {
Karsten Hopp 254acb
  	ptr = ml_get(oap->end.lnum) + oap->end.col;
Karsten Hopp 254acb
*** ../vim-7.3.395/src/version.c	2012-01-10 13:44:23.000000000 +0100
Karsten Hopp 254acb
--- src/version.c	2012-01-10 13:45:31.000000000 +0100
Karsten Hopp 254acb
***************
Karsten Hopp 254acb
*** 716,717 ****
Karsten Hopp 254acb
--- 716,719 ----
Karsten Hopp 254acb
  {   /* Add new patch number below this line */
Karsten Hopp 254acb
+ /**/
Karsten Hopp 254acb
+     396,
Karsten Hopp 254acb
  /**/
Karsten Hopp 254acb
Karsten Hopp 254acb
-- 
Karsten Hopp 254acb
Any sufficiently advanced technology is indistinguishable from magic.
Karsten Hopp 254acb
					Arthur C. Clarke
Karsten Hopp 254acb
Any sufficiently advanced bug is indistinguishable from a feature.
Karsten Hopp 254acb
                                        Rich Kulawiec
Karsten Hopp 254acb
Karsten Hopp 254acb
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 254acb
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 254acb
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 254acb
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///