1
0
forked from aniani/vim

updated for version 7.0223

This commit is contained in:
Bram Moolenaar
2006-03-13 22:15:53 +00:00
parent 019ff6825b
commit 1e60789f9b
5 changed files with 379 additions and 50 deletions

View File

@@ -65,7 +65,12 @@ redo:
kind_width = 0;
extra_width = 0;
/* Pretend the pum is already there to avoid that must_redraw is set when
* 'cuc' is on. */
pum_array = (pumitem_T *)1;
validate_cursor_col();
pum_array = NULL;
row = curwin->w_cline_row + W_WINROW(curwin);
height = curwin->w_cline_height;
col = curwin->w_wcol + W_WINCOL(curwin) - curwin->w_leftcol;
@@ -137,7 +142,7 @@ redo:
}
if (array[i].pum_extra != NULL)
{
w = vim_strsize(array[i].pum_extra + 1);
w = vim_strsize(array[i].pum_extra) + 1;
if (extra_width < w)
extra_width = w;
}