|
|
073263 |
To: vim_dev@googlegroups.com
|
|
|
073263 |
Subject: Patch 7.4.454
|
|
|
073263 |
Fcc: outbox
|
|
|
073263 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
|
073263 |
Mime-Version: 1.0
|
|
|
073263 |
Content-Type: text/plain; charset=UTF-8
|
|
|
073263 |
Content-Transfer-Encoding: 8bit
|
|
|
073263 |
------------
|
|
|
073263 |
|
|
|
073263 |
Patch 7.4.454
|
|
|
073263 |
Problem: When using a Visual selection of multiple words and doing CTRL-W_]
|
|
|
073263 |
it jumps to the tag matching the word under the cursor, not the
|
|
|
073263 |
selected text. (Patrick hemmer)
|
|
|
073263 |
Solution: Do not reset Visual mode. (idea by Christian Brabandt)
|
|
|
073263 |
Files: src/window.c
|
|
|
073263 |
|
|
|
073263 |
|
|
|
073263 |
*** ../vim-7.4.453/src/window.c 2014-09-19 14:26:29.658405000 +0200
|
|
|
073263 |
--- src/window.c 2014-09-23 13:34:12.722783903 +0200
|
|
|
073263 |
***************
|
|
|
073263 |
*** 479,492 ****
|
|
|
073263 |
case ']':
|
|
|
073263 |
case Ctrl_RSB:
|
|
|
073263 |
CHECK_CMDWIN
|
|
|
073263 |
! reset_VIsual_and_resel(); /* stop Visual mode */
|
|
|
073263 |
if (Prenum)
|
|
|
073263 |
postponed_split = Prenum;
|
|
|
073263 |
else
|
|
|
073263 |
postponed_split = -1;
|
|
|
073263 |
|
|
|
073263 |
! /* Execute the command right here, required when
|
|
|
073263 |
! * "wincmd ]" was used in a function. */
|
|
|
073263 |
do_nv_ident(Ctrl_RSB, NUL);
|
|
|
073263 |
break;
|
|
|
073263 |
|
|
|
073263 |
--- 479,493 ----
|
|
|
073263 |
case ']':
|
|
|
073263 |
case Ctrl_RSB:
|
|
|
073263 |
CHECK_CMDWIN
|
|
|
073263 |
! /* keep Visual mode, can select words to use as a tag */
|
|
|
073263 |
if (Prenum)
|
|
|
073263 |
postponed_split = Prenum;
|
|
|
073263 |
else
|
|
|
073263 |
postponed_split = -1;
|
|
|
073263 |
+ g_do_tagpreview = 0;
|
|
|
073263 |
|
|
|
073263 |
! /* Execute the command right here, required when "wincmd ]"
|
|
|
073263 |
! * was used in a function. */
|
|
|
073263 |
do_nv_ident(Ctrl_RSB, NUL);
|
|
|
073263 |
break;
|
|
|
073263 |
|
|
|
073263 |
***************
|
|
|
073263 |
*** 590,596 ****
|
|
|
073263 |
#endif
|
|
|
073263 |
case ']':
|
|
|
073263 |
case Ctrl_RSB:
|
|
|
073263 |
! reset_VIsual_and_resel(); /* stop Visual mode */
|
|
|
073263 |
if (Prenum)
|
|
|
073263 |
postponed_split = Prenum;
|
|
|
073263 |
else
|
|
|
073263 |
--- 591,597 ----
|
|
|
073263 |
#endif
|
|
|
073263 |
case ']':
|
|
|
073263 |
case Ctrl_RSB:
|
|
|
073263 |
! /* keep Visual mode, can select words to use as a tag */
|
|
|
073263 |
if (Prenum)
|
|
|
073263 |
postponed_split = Prenum;
|
|
|
073263 |
else
|
|
|
073263 |
*** ../vim-7.4.453/src/version.c 2014-09-19 22:23:22.398467500 +0200
|
|
|
073263 |
--- src/version.c 2014-09-23 13:36:18.550784178 +0200
|
|
|
073263 |
***************
|
|
|
073263 |
*** 743,744 ****
|
|
|
073263 |
--- 743,746 ----
|
|
|
073263 |
{ /* Add new patch number below this line */
|
|
|
073263 |
+ /**/
|
|
|
073263 |
+ 454,
|
|
|
073263 |
/**/
|
|
|
073263 |
|
|
|
073263 |
--
|
|
|
073263 |
hundred-and-one symptoms of being an internet addict:
|
|
|
073263 |
175. You send yourself e-mail before you go to bed to remind you
|
|
|
073263 |
what to do when you wake up.
|
|
|
073263 |
|
|
|
073263 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
|
073263 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
|
073263 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
|
073263 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|