Mercurial > vim
comparison src/quickfix.c @ 1883:c8f343a465a2 v7.2.180
updated for version 7.2-180
author | vimboss |
---|---|
date | Sun, 17 May 2009 11:33:22 +0000 |
parents | f13849167330 |
children | eac2556d4620 |
comparison
equal
deleted
inserted
replaced
1882:c8b87fa14d27 | 1883:c8f343a465a2 |
---|---|
2238 | 2238 |
2239 /* | 2239 /* |
2240 * ":cclose": close the window showing the list of errors. | 2240 * ":cclose": close the window showing the list of errors. |
2241 * ":lclose": close the window showing the location list | 2241 * ":lclose": close the window showing the location list |
2242 */ | 2242 */ |
2243 /*ARGSUSED*/ | |
2244 void | 2243 void |
2245 ex_cclose(eap) | 2244 ex_cclose(eap) |
2246 exarg_T *eap; | 2245 exarg_T *eap; |
2247 { | 2246 { |
2248 win_T *win = NULL; | 2247 win_T *win = NULL; |
3209 if ((flags & VGR_GLOBAL) == 0 | 3208 if ((flags & VGR_GLOBAL) == 0 |
3210 || regmatch.endpos[0].lnum > 0) | 3209 || regmatch.endpos[0].lnum > 0) |
3211 break; | 3210 break; |
3212 col = regmatch.endpos[0].col | 3211 col = regmatch.endpos[0].col |
3213 + (col == regmatch.endpos[0].col); | 3212 + (col == regmatch.endpos[0].col); |
3214 if (col > STRLEN(ml_get_buf(buf, lnum, FALSE))) | 3213 if (col > (colnr_T)STRLEN(ml_get_buf(buf, lnum, FALSE))) |
3215 break; | 3214 break; |
3216 } | 3215 } |
3217 line_breakcheck(); | 3216 line_breakcheck(); |
3218 if (got_int) | 3217 if (got_int) |
3219 break; | 3218 break; |