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

updated for version 7.0c03

This commit is contained in:
Bram Moolenaar
2006-03-29 21:18:24 +00:00
parent 86ca6e3b8c
commit e2f98b95c8
39 changed files with 1030 additions and 99 deletions

View File

@@ -4497,6 +4497,8 @@ ins_complete(c)
if (compl_col >= (colnr_T)startcol)
return FAIL;
spell_expand_check_cap(compl_col);
/* Need to obtain "line" again, it may have become invalid. */
line = ml_get(curwin->w_cursor.lnum);
compl_length = (int)curs_col - compl_col;
compl_pattern = vim_strnsave(line + compl_col, compl_length);
if (compl_pattern == NULL)