4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
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
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
23 else if (VIsual_active)
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;
31 ! curbuf->b_visual_mode_eval = VIsual_mode;
34 /* In Select mode, a linewise selection is operated upon like a
35 * characterwise selection. */
38 else if (VIsual_active)
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;
48 ! curbuf->b_visual_mode_eval = VIsual_mode;
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
59 { /* Add new patch number below this line */
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.
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 ///