Karsten Hopp 53fe89
To: vim_dev@googlegroups.com
Karsten Hopp 53fe89
Subject: Patch 7.4.041
Karsten Hopp 53fe89
Fcc: outbox
Karsten Hopp 53fe89
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 53fe89
Mime-Version: 1.0
Karsten Hopp 53fe89
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 53fe89
Content-Transfer-Encoding: 8bit
Karsten Hopp 53fe89
------------
Karsten Hopp 53fe89
Karsten Hopp 53fe89
Patch 7.4.041 (after 7.4.034)
Karsten Hopp 53fe89
Problem:    Visual selection does not remain after being copied over. (Axel
Karsten Hopp 53fe89
	    Bender)
Karsten Hopp 53fe89
Solution:   Move when VIsual_active is reset. (Christian Brabandt)
Karsten Hopp 53fe89
Files:	    src/ops.c
Karsten Hopp 53fe89
Karsten Hopp 53fe89
Karsten Hopp 53fe89
*** ../vim-7.4.040/src/ops.c	2013-09-22 15:23:38.000000000 +0200
Karsten Hopp 53fe89
--- src/ops.c	2013-09-25 23:20:37.000000000 +0200
Karsten Hopp 53fe89
***************
Karsten Hopp 53fe89
*** 3808,3816 ****
Karsten Hopp 53fe89
  		    FALSE /* stop after 1 paste */
Karsten Hopp 53fe89
  #endif
Karsten Hopp 53fe89
  		    );
Karsten Hopp 53fe89
- #ifdef FEAT_VISUAL
Karsten Hopp 53fe89
- 	    VIsual_active = FALSE;
Karsten Hopp 53fe89
- #endif
Karsten Hopp 53fe89
  
Karsten Hopp 53fe89
  	    curbuf->b_op_end = curwin->w_cursor;
Karsten Hopp 53fe89
  	    /* For "CTRL-O p" in Insert mode, put cursor after last char */
Karsten Hopp 53fe89
--- 3808,3813 ----
Karsten Hopp 53fe89
***************
Karsten Hopp 53fe89
*** 3972,3977 ****
Karsten Hopp 53fe89
--- 3969,3978 ----
Karsten Hopp 53fe89
      if (regname == '=')
Karsten Hopp 53fe89
  	vim_free(y_array);
Karsten Hopp 53fe89
  
Karsten Hopp 53fe89
+ #ifdef FEAT_VISUAL
Karsten Hopp 53fe89
+     VIsual_active = FALSE;
Karsten Hopp 53fe89
+ #endif
Karsten Hopp 53fe89
+ 
Karsten Hopp 53fe89
      /* If the cursor is past the end of the line put it at the end. */
Karsten Hopp 53fe89
      adjust_cursor_eol();
Karsten Hopp 53fe89
  }
Karsten Hopp 53fe89
*** ../vim-7.4.040/src/version.c	2013-09-25 21:00:24.000000000 +0200
Karsten Hopp 53fe89
--- src/version.c	2013-09-25 23:20:46.000000000 +0200
Karsten Hopp 53fe89
***************
Karsten Hopp 53fe89
*** 740,741 ****
Karsten Hopp 53fe89
--- 740,743 ----
Karsten Hopp 53fe89
  {   /* Add new patch number below this line */
Karsten Hopp 53fe89
+ /**/
Karsten Hopp 53fe89
+     41,
Karsten Hopp 53fe89
  /**/
Karsten Hopp 53fe89
Karsten Hopp 53fe89
Karsten Hopp 53fe89
-- 
Karsten Hopp 53fe89
press CTRL-ALT-DEL for more information
Karsten Hopp 53fe89
Karsten Hopp 53fe89
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 53fe89
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 53fe89
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 53fe89
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///