0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.0-061

This commit is contained in:
Bram Moolenaar
2006-08-16 19:24:22 +00:00
parent f30e74c113
commit f83c5c0113
2 changed files with 6 additions and 10 deletions

View File

@@ -4691,18 +4691,12 @@ ins_complete(c)
(int)STRLEN(compl_pattern), curs_col); (int)STRLEN(compl_pattern), curs_col);
if (compl_xp.xp_context == EXPAND_UNSUCCESSFUL if (compl_xp.xp_context == EXPAND_UNSUCCESSFUL
|| compl_xp.xp_context == EXPAND_NOTHING) || compl_xp.xp_context == EXPAND_NOTHING)
{ /* No completion possible, use an empty pattern to get a
* "pattern not found" message. */
compl_col = curs_col; compl_col = curs_col;
compl_length = 0;
vim_free(compl_pattern);
compl_pattern = NULL;
}
else else
{ compl_col = (int)(compl_xp.xp_pattern - compl_pattern);
startcol = (int)(compl_xp.xp_pattern - compl_pattern); compl_length = curs_col - compl_col;
compl_col = startcol;
compl_length = curs_col - startcol;
}
} }
else if (ctrl_x_mode == CTRL_X_FUNCTION || ctrl_x_mode == CTRL_X_OMNI) else if (ctrl_x_mode == CTRL_X_FUNCTION || ctrl_x_mode == CTRL_X_OMNI)
{ {

View File

@@ -666,6 +666,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
61,
/**/ /**/
60, 60,
/**/ /**/