diff options
author | Bram Moolenaar <bram@vim.org> | 2014-09-09 18:29:33 +0200 |
---|---|---|
committer | Bram Moolenaar <bram@vim.org> | 2014-09-09 18:29:33 +0200 |
commit | 88df8dc43a5c5cb7c0fc5a56e1fbdb3165e16d1d (patch) | |
tree | 85c15a470e3660f751ce1e429b9339f83266d9fa | |
parent | dc3c0362d12a0e0f4b2126471d800056856c08f3 (diff) | |
download | vim-88df8dc43a5c5cb7c0fc5a56e1fbdb3165e16d1d.tar.gz |
Problem: Omni complete popup drawn incorrectly.
Solution: Call validate_cursor() instead of check_cursor(). (Hirohito
Higashi)
-rw-r--r-- | src/edit.c | 4 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 2 deletions
@@ -4035,7 +4035,7 @@ expand_by_function(type, base) goto theend; } curwin->w_cursor = pos; /* restore the cursor position */ - check_cursor(); + validate_cursor(); if (!equalpos(curwin->w_cursor, pos)) { EMSG(_(e_compldel)); @@ -5273,7 +5273,7 @@ ins_complete(c) return FAIL; } curwin->w_cursor = pos; /* restore the cursor position */ - check_cursor(); + validate_cursor(); if (!equalpos(curwin->w_cursor, pos)) { EMSG(_(e_compldel)); diff --git a/src/version.c b/src/version.c index edc87f35..2a86184d 100644 --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 440, +/**/ 439, /**/ 438, |