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

updated for version 7.0205

This commit is contained in:
Bram Moolenaar
2006-02-23 21:32:16 +00:00
parent 80a94a582c
commit df1bdc92c2
14 changed files with 111 additions and 534 deletions

View File

@@ -713,8 +713,8 @@ edit(cmdchar, startln, count)
continue;
}
/* A printable character: Add it to "compl_leader". */
if (vim_isprintc(c))
/* A printable, non-white character: Add to "compl_leader". */
if (vim_isprintc(c) && !vim_iswhite(c))
{
ins_compl_addleader(c);
continue;
@@ -3696,7 +3696,10 @@ ins_compl_delete()
ins_compl_insert()
{
ins_bytes(compl_shown_match->cp_str + curwin->w_cursor.col - compl_col);
compl_used_match = TRUE;
if (compl_shown_match->cp_flags & ORIGINAL_TEXT)
compl_used_match = FALSE;
else
compl_used_match = TRUE;
}
/*