mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
updated for version 7.4.440
Problem: Omni complete popup drawn incorrectly. Solution: Call validate_cursor() instead of check_cursor(). (Hirohito Higashi)
This commit is contained in:
@@ -4035,7 +4035,7 @@ expand_by_function(type, base)
|
|||||||
goto theend;
|
goto theend;
|
||||||
}
|
}
|
||||||
curwin->w_cursor = pos; /* restore the cursor position */
|
curwin->w_cursor = pos; /* restore the cursor position */
|
||||||
check_cursor();
|
validate_cursor();
|
||||||
if (!equalpos(curwin->w_cursor, pos))
|
if (!equalpos(curwin->w_cursor, pos))
|
||||||
{
|
{
|
||||||
EMSG(_(e_compldel));
|
EMSG(_(e_compldel));
|
||||||
@@ -5273,7 +5273,7 @@ ins_complete(c)
|
|||||||
return FAIL;
|
return FAIL;
|
||||||
}
|
}
|
||||||
curwin->w_cursor = pos; /* restore the cursor position */
|
curwin->w_cursor = pos; /* restore the cursor position */
|
||||||
check_cursor();
|
validate_cursor();
|
||||||
if (!equalpos(curwin->w_cursor, pos))
|
if (!equalpos(curwin->w_cursor, pos))
|
||||||
{
|
{
|
||||||
EMSG(_(e_compldel));
|
EMSG(_(e_compldel));
|
||||||
|
@@ -741,6 +741,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 */
|
||||||
|
/**/
|
||||||
|
440,
|
||||||
/**/
|
/**/
|
||||||
439,
|
439,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user