Mercurial > vim
comparison src/popupmnu.c @ 6089:2f02675bc4b0 v7.4.383
updated for version 7.4.383
Problem: Bad interaction between preview window and omnifunc.
Solution: Avoid redrawing the status line. (Hirohito Higashi)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 23 Jul 2014 21:10:43 +0200 |
parents | a97e5b9dbc26 |
children | ce8b286e89ef |
comparison
equal
deleted
inserted
replaced
6088:6baa86fc1060 | 6089:2f02675bc4b0 |
---|---|
641 curwin->w_cursor.lnum = 1; | 641 curwin->w_cursor.lnum = 1; |
642 curwin->w_cursor.col = 0; | 642 curwin->w_cursor.col = 0; |
643 | 643 |
644 if (curwin != curwin_save && win_valid(curwin_save)) | 644 if (curwin != curwin_save && win_valid(curwin_save)) |
645 { | 645 { |
646 /* When the first completion is done and the preview | |
647 * window is not resized, skip the preview window's | |
648 * status line redrawing. */ | |
649 if (ins_compl_active() && !resized) | |
650 curwin->w_redr_status = FALSE; | |
651 | |
646 /* Return cursor to where we were */ | 652 /* Return cursor to where we were */ |
647 validate_cursor(); | 653 validate_cursor(); |
648 redraw_later(SOME_VALID); | 654 redraw_later(SOME_VALID); |
649 | 655 |
650 /* When the preview window was resized we need to | 656 /* When the preview window was resized we need to |