Mercurial > vim
comparison src/misc1.c @ 410:c60ba877860b
updated for version 7.0107
author | vimboss |
---|---|
date | Mon, 11 Jul 2005 22:40:32 +0000 |
parents | 06234af3a8b7 |
children | f713fc55bf7b |
comparison
equal
deleted
inserted
replaced
409:e6fd82f42ba0 | 410:c60ba877860b |
---|---|
398 pos.lnum = 0; | 398 pos.lnum = 0; |
399 regmatch.regprog = vim_regcomp(curbuf->b_p_flp, RE_MAGIC); | 399 regmatch.regprog = vim_regcomp(curbuf->b_p_flp, RE_MAGIC); |
400 if (regmatch.regprog != NULL) | 400 if (regmatch.regprog != NULL) |
401 { | 401 { |
402 regmatch.rmm_ic = FALSE; | 402 regmatch.rmm_ic = FALSE; |
403 regmatch.rmm_maxcol = 0; | |
403 if (vim_regexec_multi(®match, curwin, curbuf, lnum, (colnr_T)0)) | 404 if (vim_regexec_multi(®match, curwin, curbuf, lnum, (colnr_T)0)) |
404 { | 405 { |
405 pos.lnum = regmatch.endpos[0].lnum + lnum; | 406 pos.lnum = regmatch.endpos[0].lnum + lnum; |
406 pos.col = regmatch.endpos[0].col; | 407 pos.col = regmatch.endpos[0].col; |
407 #ifdef FEAT_VIRTUALEDIT | 408 #ifdef FEAT_VIRTUALEDIT |