|
Karsten Hopp |
3ee482 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
3ee482 |
Subject: Patch 7.0.125
|
|
Karsten Hopp |
3ee482 |
Fcc: outbox
|
|
Karsten Hopp |
3ee482 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
3ee482 |
Mime-Version: 1.0
|
|
Karsten Hopp |
3ee482 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
3ee482 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
3ee482 |
------------
|
|
Karsten Hopp |
3ee482 |
|
|
Karsten Hopp |
3ee482 |
Patch 7.0.125
|
|
Karsten Hopp |
3ee482 |
Problem: When "autoselect" is in the 'clipboard' option then the '< and '>
|
|
Karsten Hopp |
3ee482 |
marks are set while Visual mode is still active.
|
|
Karsten Hopp |
3ee482 |
Solution: Don't set the '< and '> marks when yanking the selected area for
|
|
Karsten Hopp |
3ee482 |
the clipboard.
|
|
Karsten Hopp |
3ee482 |
Files: src/normal.c
|
|
Karsten Hopp |
3ee482 |
|
|
Karsten Hopp |
3ee482 |
|
|
Karsten Hopp |
3ee482 |
*** ../vim-7.0.124/src/normal.c Tue Aug 29 17:28:56 2006
|
|
Karsten Hopp |
3ee482 |
--- src/normal.c Sat Oct 7 14:11:26 2006
|
|
Karsten Hopp |
3ee482 |
***************
|
|
Karsten Hopp |
3ee482 |
*** 1477,1490 ****
|
|
Karsten Hopp |
3ee482 |
}
|
|
Karsten Hopp |
3ee482 |
else if (VIsual_active)
|
|
Karsten Hopp |
3ee482 |
{
|
|
Karsten Hopp |
3ee482 |
! /* Save the current VIsual area for '< and '> marks, and "gv" */
|
|
Karsten Hopp |
3ee482 |
! curbuf->b_visual.vi_start = VIsual;
|
|
Karsten Hopp |
3ee482 |
! curbuf->b_visual.vi_end = curwin->w_cursor;
|
|
Karsten Hopp |
3ee482 |
! curbuf->b_visual.vi_mode = VIsual_mode;
|
|
Karsten Hopp |
3ee482 |
! curbuf->b_visual.vi_curswant = curwin->w_curswant;
|
|
Karsten Hopp |
3ee482 |
# ifdef FEAT_EVAL
|
|
Karsten Hopp |
3ee482 |
! curbuf->b_visual_mode_eval = VIsual_mode;
|
|
Karsten Hopp |
3ee482 |
# endif
|
|
Karsten Hopp |
3ee482 |
|
|
Karsten Hopp |
3ee482 |
/* In Select mode, a linewise selection is operated upon like a
|
|
Karsten Hopp |
3ee482 |
* characterwise selection. */
|
|
Karsten Hopp |
3ee482 |
--- 1477,1493 ----
|
|
Karsten Hopp |
3ee482 |
}
|
|
Karsten Hopp |
3ee482 |
else if (VIsual_active)
|
|
Karsten Hopp |
3ee482 |
{
|
|
Karsten Hopp |
3ee482 |
! if (!gui_yank)
|
|
Karsten Hopp |
3ee482 |
! {
|
|
Karsten Hopp |
3ee482 |
! /* Save the current VIsual area for '< and '> marks, and "gv" */
|
|
Karsten Hopp |
3ee482 |
! curbuf->b_visual.vi_start = VIsual;
|
|
Karsten Hopp |
3ee482 |
! curbuf->b_visual.vi_end = curwin->w_cursor;
|
|
Karsten Hopp |
3ee482 |
! curbuf->b_visual.vi_mode = VIsual_mode;
|
|
Karsten Hopp |
3ee482 |
! curbuf->b_visual.vi_curswant = curwin->w_curswant;
|
|
Karsten Hopp |
3ee482 |
# ifdef FEAT_EVAL
|
|
Karsten Hopp |
3ee482 |
! curbuf->b_visual_mode_eval = VIsual_mode;
|
|
Karsten Hopp |
3ee482 |
# endif
|
|
Karsten Hopp |
3ee482 |
+ }
|
|
Karsten Hopp |
3ee482 |
|
|
Karsten Hopp |
3ee482 |
/* In Select mode, a linewise selection is operated upon like a
|
|
Karsten Hopp |
3ee482 |
* characterwise selection. */
|
|
Karsten Hopp |
3ee482 |
*** ../vim-7.0.124/src/version.c Tue Oct 10 12:56:09 2006
|
|
Karsten Hopp |
3ee482 |
--- src/version.c Tue Oct 10 13:25:27 2006
|
|
Karsten Hopp |
3ee482 |
***************
|
|
Karsten Hopp |
3ee482 |
*** 668,669 ****
|
|
Karsten Hopp |
3ee482 |
--- 668,671 ----
|
|
Karsten Hopp |
3ee482 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
3ee482 |
+ /**/
|
|
Karsten Hopp |
3ee482 |
+ 125,
|
|
Karsten Hopp |
3ee482 |
/**/
|
|
Karsten Hopp |
3ee482 |
|
|
Karsten Hopp |
3ee482 |
--
|
|
Karsten Hopp |
3ee482 |
How To Keep A Healthy Level Of Insanity:
|
|
Karsten Hopp |
3ee482 |
15. Five days in advance, tell your friends you can't attend their
|
|
Karsten Hopp |
3ee482 |
party because you're not in the mood.
|
|
Karsten Hopp |
3ee482 |
|
|
Karsten Hopp |
3ee482 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
3ee482 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
3ee482 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
3ee482 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|