To:
[email protected]
Subject: Patch 6.3b.030
Fcc: outbox
From: Bram Moolenaar <
[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
------------
Patch 6.3b.030
Problem: After Visually selecting four characters, changing it to other
text, Visually selecting and yanking two characters: "." changes
four characters, another "." changes two characters. (Robert Webb)
Solution: Don't store the size of the Visual area when redo is active.
Files: src/normal.c
*** ../vim-6.3b.029/src/normal.c Wed Jun 2 10:35:12 2004
--- src/normal.c Sat Jun 5 11:19:06 2004
***************
*** 1629,1638 ****
get_op_char(oap->op_type),
get_extra_op_char(oap->op_type),
oap->op_type == OP_REPLACE ? cap->nchar : NUL);
! redo_VIsual_mode = resel_VIsual_mode;
! redo_VIsual_col = resel_VIsual_col;
! redo_VIsual_line_count = resel_VIsual_line_count;
! redo_VIsual_count = cap->count0;
}
/*
--- 1629,1641 ----
get_op_char(oap->op_type),
get_extra_op_char(oap->op_type),
oap->op_type == OP_REPLACE ? cap->nchar : NUL);
! if (!redo_VIsual_busy)
! {
! redo_VIsual_mode = resel_VIsual_mode;
! redo_VIsual_col = resel_VIsual_col;
! redo_VIsual_line_count = resel_VIsual_line_count;
! redo_VIsual_count = cap->count0;
! }
}
/*
*** ../vim-6.3b.029/src/version.c Fri Jun 4 21:11:29 2004
--- src/version.c Sat Jun 5 11:23:51 2004
***************
*** 643,644 ****
--- 643,646 ----
{ /* Add new patch number below this line */
+ /**/
+ 30,
/**/
--
hundred-and-one symptoms of being an internet addict:
44. Your friends no longer send you e-mail...they just log on to your IRC
channel.
/// Bram Moolenaar --
[email protected] --
http://www.Moolenaar.net \\\
/// Sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ \\\
\\\ Project leader for A-A-P --
http://www.A-A-P.org ///
\\\ Buy at Amazon and help AIDS victims --
http://ICCF.nl/click1.html ///