1 To: [email protected] |
|
2 Subject: Patch 7.2.083 |
|
3 Fcc: outbox |
|
4 From: Bram Moolenaar <[email protected]> |
|
5 Mime-Version: 1.0 |
|
6 Content-Type: text/plain; charset=ISO-8859-1 |
|
7 Content-Transfer-Encoding: 8bit |
|
8 ------------ |
|
9 |
|
10 Patch 7.2.083 |
|
11 Problem: ":tag" does not return to the right tag entry from the tag stack. |
|
12 Solution: Don't change the current match when there is no argument. |
|
13 (Erik Falor) |
|
14 Files: src/tag.c |
|
15 |
|
16 |
|
17 *** ../vim-7.2.082/src/tag.c Tue Dec 9 12:12:31 2008 |
|
18 --- src/tag.c Tue Jan 13 17:14:59 2009 |
|
19 *************** |
|
20 *** 515,521 **** |
|
21 * If a count is supplied to the ":tag <name>" command, then |
|
22 * jump to count'th matching tag. |
|
23 */ |
|
24 ! if (type == DT_TAG && count > 0) |
|
25 cur_match = count - 1; |
|
26 |
|
27 if (type == DT_SELECT || type == DT_JUMP |
|
28 --- 515,521 ---- |
|
29 * If a count is supplied to the ":tag <name>" command, then |
|
30 * jump to count'th matching tag. |
|
31 */ |
|
32 ! if (type == DT_TAG && *tag != NUL && count > 0) |
|
33 cur_match = count - 1; |
|
34 |
|
35 if (type == DT_SELECT || type == DT_JUMP |
|
36 *** ../vim-7.2.082/src/version.c Tue Jan 13 16:57:09 2009 |
|
37 --- src/version.c Tue Jan 13 17:16:42 2009 |
|
38 *************** |
|
39 *** 678,679 **** |
|
40 --- 678,681 ---- |
|
41 { /* Add new patch number below this line */ |
|
42 + /**/ |
|
43 + 83, |
|
44 /**/ |
|
45 |
|
46 -- |
|
47 Engineers will go without food and hygiene for days to solve a problem. |
|
48 (Other times just because they forgot.) |
|
49 (Scott Adams - The Dilbert principle) |
|
50 |
|
51 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ |
|
52 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ |
|
53 \\\ download, build and distribute -- http://www.A-A-P.org /// |
|
54 \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |
|