comparison src/ops.c @ 681:9364d114ed8d v7.0204

updated for version 7.0204
author vimboss
date Wed, 22 Feb 2006 21:25:37 +0000
parents 9090f866cd57
children bcd2edc4539e
comparison
equal deleted inserted replaced
680:5b101ff9d4c4 681:9364d114ed8d
1437 case Ctrl_F: /* Filename under cursor */ 1437 case Ctrl_F: /* Filename under cursor */
1438 case Ctrl_P: /* Path under cursor, expand via "path" */ 1438 case Ctrl_P: /* Path under cursor, expand via "path" */
1439 if (!errmsg) 1439 if (!errmsg)
1440 return FALSE; 1440 return FALSE;
1441 *argp = file_name_at_cursor(FNAME_MESS | FNAME_HYP 1441 *argp = file_name_at_cursor(FNAME_MESS | FNAME_HYP
1442 | (regname == Ctrl_P ? FNAME_EXP : 0), 1L); 1442 | (regname == Ctrl_P ? FNAME_EXP : 0), 1L, NULL);
1443 *allocated = TRUE; 1443 *allocated = TRUE;
1444 return TRUE; 1444 return TRUE;
1445 #endif 1445 #endif
1446 1446
1447 case Ctrl_W: /* word under cursor */ 1447 case Ctrl_W: /* word under cursor */
4332 int 4332 int
4333 fex_format(lnum, count) 4333 fex_format(lnum, count)
4334 linenr_T lnum; 4334 linenr_T lnum;
4335 long count; 4335 long count;
4336 { 4336 {
4337 int use_sandbox = was_set_insecurely((char_u *)"formatexpr"); 4337 int use_sandbox = was_set_insecurely((char_u *)"formatexpr",
4338 OPT_LOCAL);
4338 int r; 4339 int r;
4339 4340
4340 /* 4341 /*
4341 * Set v:lnum to the first line number and v:count to the number of lines. 4342 * Set v:lnum to the first line number and v:count to the number of lines.
4342 */ 4343 */