4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: When a compiler uses ^^^^ to mark a word the information is not
12 visible in the quickfix window. (Srikanth Sankaran)
13 Solution: Don't remove the indent for a line that is not recognized as an
18 *** ../vim-6.2.082/src/quickfix.c Fri May 30 09:43:51 2003
19 --- src/quickfix.c Fri Aug 29 20:45:08 2003
22 (char *)qf_types(qf_ptr->qf_type, qf_ptr->qf_nr));
23 /* Add the message, skipping leading whitespace and newlines. */
24 len = (int)STRLEN(IObuff);
25 ! qf_fmt_text(qf_ptr->qf_text, IObuff + len, IOSIZE - len);
27 /* Output the message. Overwrite to avoid scrolling when the 'O'
28 * flag is present in 'shortmess'; But when not jumping, print the
30 (char *)qf_types(qf_ptr->qf_type, qf_ptr->qf_nr));
31 /* Add the message, skipping leading whitespace and newlines. */
32 len = (int)STRLEN(IObuff);
33 ! qf_fmt_text(skipwhite(qf_ptr->qf_text), IObuff + len, IOSIZE - len);
35 /* Output the message. Overwrite to avoid scrolling when the 'O'
36 * flag is present in 'shortmess'; But when not jumping, print the
39 sprintf((char *)IObuff + STRLEN(IObuff), "%s: ",
40 (char *)qf_types(qfp->qf_type, qfp->qf_nr));
41 msg_puts_attr(IObuff, hl_attr(HLF_N));
42 ! /* Remove newlines and leading whitespace from the text. */
43 ! qf_fmt_text(qfp->qf_text, IObuff, IOSIZE);
45 out_flush(); /* show one line at a time */
48 sprintf((char *)IObuff + STRLEN(IObuff), "%s: ",
49 (char *)qf_types(qfp->qf_type, qfp->qf_nr));
50 msg_puts_attr(IObuff, hl_attr(HLF_N));
51 ! /* Remove newlines and leading whitespace from the text.
52 ! * For an unrecognized line keep the indent, the compiler may
53 ! * mark a word with ^^^^. */
54 ! qf_fmt_text((fname != NULL || qfp->qf_lnum != 0)
55 ! ? skipwhite(qfp->qf_text) : qfp->qf_text,
58 out_flush(); /* show one line at a time */
65 ! char_u *p = skipwhite(text);
67 for (i = 0; *p != NUL && i < bufsize - 1; ++i)
75 for (i = 0; *p != NUL && i < bufsize - 1; ++i)
82 ! qf_fmt_text(qfp->qf_text, IObuff + len, IOSIZE - len);
84 if (ml_append(lnum, IObuff, (colnr_T)STRLEN(IObuff) + 1, FALSE)
90 ! /* Remove newlines and leading whitespace from the text.
91 ! * For an unrecognized line keep the indent, the compiler may
92 ! * mark a word with ^^^^. */
93 ! qf_fmt_text(len > 3 ? skipwhite(qfp->qf_text) : qfp->qf_text,
94 ! IObuff + len, IOSIZE - len);
96 if (ml_append(lnum, IObuff, (colnr_T)STRLEN(IObuff) + 1, FALSE)
98 *** ../vim-6.2.082/src/version.c Thu Sep 11 21:11:22 2003
99 --- src/version.c Thu Sep 11 21:12:59 2003
103 { /* Add new patch number below this line */
109 Biting someone with your natural teeth is "simple assault," while biting
110 someone with your false teeth is "aggravated assault."
111 [real standing law in Louisana, United States of America]
113 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
114 /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
115 \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
116 \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///