Karsten Hopp ae2d84
To: vim_dev@googlegroups.com
Karsten Hopp ae2d84
Subject: Patch 7.3.411
Karsten Hopp ae2d84
Fcc: outbox
Karsten Hopp ae2d84
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp ae2d84
Mime-Version: 1.0
Karsten Hopp ae2d84
Content-Type: text/plain; charset=UTF-8
Karsten Hopp ae2d84
Content-Transfer-Encoding: 8bit
Karsten Hopp ae2d84
------------
Karsten Hopp ae2d84
Karsten Hopp ae2d84
Patch 7.3.411
Karsten Hopp ae2d84
Problem:    Pasting in Visual mode using the "" register does not work. (John
Karsten Hopp ae2d84
	    Beckett)
Karsten Hopp ae2d84
Solution:   Detect that the write is overwriting the pasted register.
Karsten Hopp ae2d84
	    (Christian Brabandt)
Karsten Hopp ae2d84
Files:	    src/normal.c
Karsten Hopp ae2d84
Karsten Hopp ae2d84
Karsten Hopp ae2d84
*** ../vim-7.3.410/src/normal.c	2011-10-04 21:22:40.000000000 +0200
Karsten Hopp ae2d84
--- src/normal.c	2012-01-23 22:13:44.000000000 +0100
Karsten Hopp ae2d84
***************
Karsten Hopp ae2d84
*** 9329,9335 ****
Karsten Hopp ae2d84
  # ifdef FEAT_CLIPBOARD
Karsten Hopp ae2d84
  	    adjust_clip_reg(&regname);
Karsten Hopp ae2d84
  # endif
Karsten Hopp ae2d84
! 	    if (regname == 0 || VIM_ISDIGIT(regname)
Karsten Hopp ae2d84
  # ifdef FEAT_CLIPBOARD
Karsten Hopp ae2d84
  		    || (clip_unnamed && (regname == '*' || regname == '+'))
Karsten Hopp ae2d84
  # endif
Karsten Hopp ae2d84
--- 9329,9335 ----
Karsten Hopp ae2d84
  # ifdef FEAT_CLIPBOARD
Karsten Hopp ae2d84
  	    adjust_clip_reg(&regname);
Karsten Hopp ae2d84
  # endif
Karsten Hopp ae2d84
! 	    if (regname == 0 || regname == '"' || VIM_ISDIGIT(regname)
Karsten Hopp ae2d84
  # ifdef FEAT_CLIPBOARD
Karsten Hopp ae2d84
  		    || (clip_unnamed && (regname == '*' || regname == '+'))
Karsten Hopp ae2d84
  # endif
Karsten Hopp ae2d84
*** ../vim-7.3.410/src/version.c	2012-01-23 20:48:34.000000000 +0100
Karsten Hopp ae2d84
--- src/version.c	2012-01-26 11:42:33.000000000 +0100
Karsten Hopp ae2d84
***************
Karsten Hopp ae2d84
*** 716,717 ****
Karsten Hopp ae2d84
--- 716,719 ----
Karsten Hopp ae2d84
  {   /* Add new patch number below this line */
Karsten Hopp ae2d84
+ /**/
Karsten Hopp ae2d84
+     411,
Karsten Hopp ae2d84
  /**/
Karsten Hopp ae2d84
Karsten Hopp ae2d84
-- 
Karsten Hopp ae2d84
Engineers understand that their appearance only bothers other people and
Karsten Hopp ae2d84
therefore it is not worth optimizing.
Karsten Hopp ae2d84
				(Scott Adams - The Dilbert principle)
Karsten Hopp ae2d84
Karsten Hopp ae2d84
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp ae2d84
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp ae2d84
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp ae2d84
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///