]> git.pld-linux.org Git - packages/vim.git/blob - 7.0.125
- updated to 0.7.3
[packages/vim.git] / 7.0.125
1 To: vim-dev@vim.org
2 Subject: Patch 7.0.125
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.0.125
11 Problem:    When "autoselect" is in the 'clipboard' option then the '< and '>
12             marks are set while Visual mode is still active.
13 Solution:   Don't set the '< and '> marks when yanking the selected area for
14             the clipboard.
15 Files:      src/normal.c
16
17
18 *** ../vim-7.0.124/src/normal.c Tue Aug 29 17:28:56 2006
19 --- src/normal.c        Sat Oct  7 14:11:26 2006
20 ***************
21 *** 1477,1490 ****
22         }
23         else if (VIsual_active)
24         {
25 !           /* Save the current VIsual area for '< and '> marks, and "gv" */
26 !           curbuf->b_visual.vi_start = VIsual;
27 !           curbuf->b_visual.vi_end = curwin->w_cursor;
28 !           curbuf->b_visual.vi_mode = VIsual_mode;
29 !           curbuf->b_visual.vi_curswant = curwin->w_curswant;
30   # ifdef FEAT_EVAL
31 !           curbuf->b_visual_mode_eval = VIsual_mode;
32   # endif
33   
34             /* In Select mode, a linewise selection is operated upon like a
35              * characterwise selection. */
36 --- 1477,1493 ----
37         }
38         else if (VIsual_active)
39         {
40 !           if (!gui_yank)
41 !           {
42 !               /* Save the current VIsual area for '< and '> marks, and "gv" */
43 !               curbuf->b_visual.vi_start = VIsual;
44 !               curbuf->b_visual.vi_end = curwin->w_cursor;
45 !               curbuf->b_visual.vi_mode = VIsual_mode;
46 !               curbuf->b_visual.vi_curswant = curwin->w_curswant;
47   # ifdef FEAT_EVAL
48 !               curbuf->b_visual_mode_eval = VIsual_mode;
49   # endif
50 +           }
51   
52             /* In Select mode, a linewise selection is operated upon like a
53              * characterwise selection. */
54 *** ../vim-7.0.124/src/version.c        Tue Oct 10 12:56:09 2006
55 --- src/version.c       Tue Oct 10 13:25:27 2006
56 ***************
57 *** 668,669 ****
58 --- 668,671 ----
59   {   /* Add new patch number below this line */
60 + /**/
61 +     125,
62   /**/
63
64 -- 
65 How To Keep A Healthy Level Of Insanity:
66 15. Five days in advance, tell your friends you can't attend their
67     party because you're not in the mood.
68
69  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
70 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
71 \\\        download, build and distribute -- http://www.A-A-P.org        ///
72  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.027443 seconds and 3 git commands to generate.