]> git.pld-linux.org Git - packages/vim.git/blame - 6.2.157
- initial import
[packages/vim.git] / 6.2.157
CommitLineData
d02ad552
AG
1To: vim-dev@vim.org
2Subject: Patch 6.2.157
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 6.2.157
11Problem: Using "%p" in 'errorformat' gives a column number that is too
12 high.
13Solution: Set the flag to use the number as a virtual column. (Lefteris
14 Koutsoloukas)
15Files: src/quickfix.c
16
17
18*** ../vim-6.2.156/src/quickfix.c Thu Sep 11 21:15:02 2003
19--- src/quickfix.c Wed Dec 24 13:39:46 2003
20***************
21*** 476,482 ****
22--- 476,486 ----
23 if ((i = (int)fmt_ptr->addr[6]) > 0) /* %r */
24 tail = regmatch.startp[i];
25 if ((i = (int)fmt_ptr->addr[7]) > 0) /* %p */
26+ {
27 col = (int)(regmatch.endp[i] - regmatch.startp[i] + 1);
28+ if (*((char_u *)regmatch.startp[i]) != TAB)
29+ use_virt_col = TRUE;
30+ }
31 if ((i = (int)fmt_ptr->addr[8]) > 0) /* %v */
32 {
33 col = (int)atol((char *)regmatch.startp[i]);
34*** ../vim-6.2.156/src/version.c Mon Dec 29 20:14:44 2003
35--- src/version.c Mon Dec 29 20:20:46 2003
36***************
37*** 639,640 ****
38--- 639,642 ----
39 { /* Add new patch number below this line */
40+ /**/
41+ 157,
42 /**/
43
44--
45I AM THANKFUL...
46...for a lawn that needs mowing, windows that need cleaning
47and gutters that need fixing because it means I have a home.
48
49 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
50/// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
51\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
52 \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///
This page took 0.032012 seconds and 4 git commands to generate.