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