diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-05-04 21:54:08 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-05-04 21:54:08 +0000 |
commit | 14716817266007c373d5cc6ee2294416e3132be6 (patch) | |
tree | 17456d1f860cb89befc89c43a62e1459b0cec0c0 /src/edit.c | |
parent | fdc9f4904ea162e899df7859e7755c0253b47870 (diff) | |
download | vim-git-14716817266007c373d5cc6ee2294416e3132be6.tar.gz |
updated for version 7.0g03
Diffstat (limited to 'src/edit.c')
-rw-r--r-- | src/edit.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/edit.c b/src/edit.c index 1cf28086d..2ff172273 100644 --- a/src/edit.c +++ b/src/edit.c @@ -4150,6 +4150,15 @@ ins_compl_next(allow_get_expansion, count, insert_match) /* display the updated popup menu */ ins_compl_show_pum(); +#ifdef FEAT_GUI + if (gui.in_use) + { + /* Show the cursor after the match, not after the redrawn text. */ + setcursor(); + out_flush(); + gui_update_cursor(FALSE, FALSE); + } +#endif /* Delete old text to be replaced, since we're still searching and * don't want to match ourselves! */ |