|
Karsten Hopp |
0de600 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
0de600 |
Subject: Patch 7.2.083
|
|
Karsten Hopp |
0de600 |
Fcc: outbox
|
|
Karsten Hopp |
0de600 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
0de600 |
Mime-Version: 1.0
|
|
Karsten Hopp |
0de600 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
0de600 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
0de600 |
------------
|
|
Karsten Hopp |
0de600 |
|
|
Karsten Hopp |
0de600 |
Patch 7.2.083
|
|
Karsten Hopp |
0de600 |
Problem: ":tag" does not return to the right tag entry from the tag stack.
|
|
Karsten Hopp |
0de600 |
Solution: Don't change the current match when there is no argument.
|
|
Karsten Hopp |
0de600 |
(Erik Falor)
|
|
Karsten Hopp |
0de600 |
Files: src/tag.c
|
|
Karsten Hopp |
0de600 |
|
|
Karsten Hopp |
0de600 |
|
|
Karsten Hopp |
0de600 |
*** ../vim-7.2.082/src/tag.c Tue Dec 9 12:12:31 2008
|
|
Karsten Hopp |
0de600 |
--- src/tag.c Tue Jan 13 17:14:59 2009
|
|
Karsten Hopp |
0de600 |
***************
|
|
Karsten Hopp |
0de600 |
*** 515,521 ****
|
|
Karsten Hopp |
0de600 |
* If a count is supplied to the ":tag <name>" command, then
|
|
Karsten Hopp |
0de600 |
* jump to count'th matching tag.
|
|
Karsten Hopp |
0de600 |
*/
|
|
Karsten Hopp |
0de600 |
! if (type == DT_TAG && count > 0)
|
|
Karsten Hopp |
0de600 |
cur_match = count - 1;
|
|
Karsten Hopp |
0de600 |
|
|
Karsten Hopp |
0de600 |
if (type == DT_SELECT || type == DT_JUMP
|
|
Karsten Hopp |
0de600 |
--- 515,521 ----
|
|
Karsten Hopp |
0de600 |
* If a count is supplied to the ":tag <name>" command, then
|
|
Karsten Hopp |
0de600 |
* jump to count'th matching tag.
|
|
Karsten Hopp |
0de600 |
*/
|
|
Karsten Hopp |
0de600 |
! if (type == DT_TAG && *tag != NUL && count > 0)
|
|
Karsten Hopp |
0de600 |
cur_match = count - 1;
|
|
Karsten Hopp |
0de600 |
|
|
Karsten Hopp |
0de600 |
if (type == DT_SELECT || type == DT_JUMP
|
|
Karsten Hopp |
0de600 |
*** ../vim-7.2.082/src/version.c Tue Jan 13 16:57:09 2009
|
|
Karsten Hopp |
0de600 |
--- src/version.c Tue Jan 13 17:16:42 2009
|
|
Karsten Hopp |
0de600 |
***************
|
|
Karsten Hopp |
0de600 |
*** 678,679 ****
|
|
Karsten Hopp |
0de600 |
--- 678,681 ----
|
|
Karsten Hopp |
0de600 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
0de600 |
+ /**/
|
|
Karsten Hopp |
0de600 |
+ 83,
|
|
Karsten Hopp |
0de600 |
/**/
|
|
Karsten Hopp |
0de600 |
|
|
Karsten Hopp |
0de600 |
--
|
|
Karsten Hopp |
0de600 |
Engineers will go without food and hygiene for days to solve a problem.
|
|
Karsten Hopp |
0de600 |
(Other times just because they forgot.)
|
|
Karsten Hopp |
0de600 |
(Scott Adams - The Dilbert principle)
|
|
Karsten Hopp |
0de600 |
|
|
Karsten Hopp |
0de600 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
0de600 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
0de600 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
0de600 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|