mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 07:58:35 +00:00
vim-patch:7.4.440 #1244
Problem: Omni complete popup drawn incorrectly. Solution: Call validate_cursor() instead of check_cursor(). (Hirohito Higashi) https://code.google.com/p/vim/source/detail?r=v7-4-440
This commit is contained in:

committed by
Justin M. Keyes

parent
af40647b66
commit
0a2d9fa8c8
@@ -3302,7 +3302,7 @@ expand_by_function (
|
|||||||
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));
|
||||||
goto theend;
|
goto theend;
|
||||||
@@ -4369,7 +4369,7 @@ static int ins_complete(int 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));
|
||||||
return FAIL;
|
return FAIL;
|
||||||
|
@@ -192,7 +192,7 @@ static int included_patches[] = {
|
|||||||
//443,
|
//443,
|
||||||
//442,
|
//442,
|
||||||
//441,
|
//441,
|
||||||
//440,
|
440,
|
||||||
439,
|
439,
|
||||||
//438,
|
//438,
|
||||||
//437,
|
//437,
|
||||||
|
Reference in New Issue
Block a user