1 To: vim_dev@googlegroups.com
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: Pasting in Visual mode using the "" register does not work. (John
13 Solution: Detect that the write is overwriting the pasted register.
18 *** ../vim-7.3.410/src/normal.c 2011-10-04 21:22:40.000000000 +0200
19 --- src/normal.c 2012-01-23 22:13:44.000000000 +0100
22 # ifdef FEAT_CLIPBOARD
23 adjust_clip_reg(®name);
25 ! if (regname == 0 || VIM_ISDIGIT(regname)
26 # ifdef FEAT_CLIPBOARD
27 || (clip_unnamed && (regname == '*' || regname == '+'))
30 # ifdef FEAT_CLIPBOARD
31 adjust_clip_reg(®name);
33 ! if (regname == 0 || regname == '"' || VIM_ISDIGIT(regname)
34 # ifdef FEAT_CLIPBOARD
35 || (clip_unnamed && (regname == '*' || regname == '+'))
37 *** ../vim-7.3.410/src/version.c 2012-01-23 20:48:34.000000000 +0100
38 --- src/version.c 2012-01-26 11:42:33.000000000 +0100
42 { /* Add new patch number below this line */
48 Engineers understand that their appearance only bothers other people and
49 therefore it is not worth optimizing.
50 (Scott Adams - The Dilbert principle)
52 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
53 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
54 \\\ an exciting new programming language -- http://www.Zimbu.org ///
55 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///