|
Karsten Hopp |
ab36fc |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
ab36fc |
Subject: Patch 7.3.918
|
|
Karsten Hopp |
ab36fc |
Fcc: outbox
|
|
Karsten Hopp |
ab36fc |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
ab36fc |
Mime-Version: 1.0
|
|
Karsten Hopp |
ab36fc |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
ab36fc |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
ab36fc |
------------
|
|
Karsten Hopp |
ab36fc |
|
|
Karsten Hopp |
ab36fc |
Patch 7.3.918
|
|
Karsten Hopp |
ab36fc |
Problem: Repeating an Ex command after using a Visual motion does not work.
|
|
Karsten Hopp |
ab36fc |
Solution: Check for an Ex command being used. (David Bürgin)
|
|
Karsten Hopp |
ab36fc |
Files: src/normal.c
|
|
Karsten Hopp |
ab36fc |
|
|
Karsten Hopp |
ab36fc |
|
|
Karsten Hopp |
ab36fc |
*** ../vim-7.3.917/src/normal.c 2013-04-05 17:43:10.000000000 +0200
|
|
Karsten Hopp |
ab36fc |
--- src/normal.c 2013-04-24 18:12:43.000000000 +0200
|
|
Karsten Hopp |
ab36fc |
***************
|
|
Karsten Hopp |
ab36fc |
*** 1504,1514 ****
|
|
Karsten Hopp |
ab36fc |
}
|
|
Karsten Hopp |
ab36fc |
#endif
|
|
Karsten Hopp |
ab36fc |
|
|
Karsten Hopp |
ab36fc |
! /* only redo yank when 'y' flag is in 'cpoptions' */
|
|
Karsten Hopp |
ab36fc |
! /* never redo "zf" (define fold) */
|
|
Karsten Hopp |
ab36fc |
if ((vim_strchr(p_cpo, CPO_YANK) != NULL || oap->op_type != OP_YANK)
|
|
Karsten Hopp |
ab36fc |
#ifdef FEAT_VISUAL
|
|
Karsten Hopp |
ab36fc |
! && (!VIsual_active || oap->motion_force)
|
|
Karsten Hopp |
ab36fc |
#endif
|
|
Karsten Hopp |
ab36fc |
&& cap->cmdchar != 'D'
|
|
Karsten Hopp |
ab36fc |
#ifdef FEAT_FOLDING
|
|
Karsten Hopp |
ab36fc |
--- 1504,1517 ----
|
|
Karsten Hopp |
ab36fc |
}
|
|
Karsten Hopp |
ab36fc |
#endif
|
|
Karsten Hopp |
ab36fc |
|
|
Karsten Hopp |
ab36fc |
! /* Only redo yank when 'y' flag is in 'cpoptions'. */
|
|
Karsten Hopp |
ab36fc |
! /* Never redo "zf" (define fold). */
|
|
Karsten Hopp |
ab36fc |
if ((vim_strchr(p_cpo, CPO_YANK) != NULL || oap->op_type != OP_YANK)
|
|
Karsten Hopp |
ab36fc |
#ifdef FEAT_VISUAL
|
|
Karsten Hopp |
ab36fc |
! && ((!VIsual_active || oap->motion_force)
|
|
Karsten Hopp |
ab36fc |
! /* Also redo Operator-pending Visual mode mappings */
|
|
Karsten Hopp |
ab36fc |
! || (VIsual_active && cap->cmdchar == ':'
|
|
Karsten Hopp |
ab36fc |
! && oap->op_type != OP_COLON))
|
|
Karsten Hopp |
ab36fc |
#endif
|
|
Karsten Hopp |
ab36fc |
&& cap->cmdchar != 'D'
|
|
Karsten Hopp |
ab36fc |
#ifdef FEAT_FOLDING
|
|
Karsten Hopp |
ab36fc |
***************
|
|
Karsten Hopp |
ab36fc |
*** 1797,1803 ****
|
|
Karsten Hopp |
ab36fc |
prep_redo(oap->regname, 0L, NUL, cap->cmdchar, cap->nchar,
|
|
Karsten Hopp |
ab36fc |
get_op_char(oap->op_type),
|
|
Karsten Hopp |
ab36fc |
get_extra_op_char(oap->op_type));
|
|
Karsten Hopp |
ab36fc |
! else
|
|
Karsten Hopp |
ab36fc |
prep_redo(oap->regname, 0L, NUL, 'v',
|
|
Karsten Hopp |
ab36fc |
get_op_char(oap->op_type),
|
|
Karsten Hopp |
ab36fc |
get_extra_op_char(oap->op_type),
|
|
Karsten Hopp |
ab36fc |
--- 1800,1806 ----
|
|
Karsten Hopp |
ab36fc |
prep_redo(oap->regname, 0L, NUL, cap->cmdchar, cap->nchar,
|
|
Karsten Hopp |
ab36fc |
get_op_char(oap->op_type),
|
|
Karsten Hopp |
ab36fc |
get_extra_op_char(oap->op_type));
|
|
Karsten Hopp |
ab36fc |
! else if (cap->cmdchar != ':')
|
|
Karsten Hopp |
ab36fc |
prep_redo(oap->regname, 0L, NUL, 'v',
|
|
Karsten Hopp |
ab36fc |
get_op_char(oap->op_type),
|
|
Karsten Hopp |
ab36fc |
get_extra_op_char(oap->op_type),
|
|
Karsten Hopp |
ab36fc |
*** ../vim-7.3.917/src/version.c 2013-04-24 17:34:15.000000000 +0200
|
|
Karsten Hopp |
ab36fc |
--- src/version.c 2013-04-24 18:34:03.000000000 +0200
|
|
Karsten Hopp |
ab36fc |
***************
|
|
Karsten Hopp |
ab36fc |
*** 730,731 ****
|
|
Karsten Hopp |
ab36fc |
--- 730,733 ----
|
|
Karsten Hopp |
ab36fc |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
ab36fc |
+ /**/
|
|
Karsten Hopp |
ab36fc |
+ 918,
|
|
Karsten Hopp |
ab36fc |
/**/
|
|
Karsten Hopp |
ab36fc |
|
|
Karsten Hopp |
ab36fc |
--
|
|
Karsten Hopp |
ab36fc |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
ab36fc |
230. You spend your Friday nights typing away at your keyboard
|
|
Karsten Hopp |
ab36fc |
|
|
Karsten Hopp |
ab36fc |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
ab36fc |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
ab36fc |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
ab36fc |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|