Mercurial > vim
comparison src/popupmenu.c @ 743:afac7b58ed46
updated for version 7.0222
author | vimboss |
---|---|
date | Sun, 12 Mar 2006 22:05:10 +0000 |
parents | 44348703ab1b |
children | ac005a544e24 |
comparison
equal
deleted
inserted
replaced
742:6e44184bd117 | 743:afac7b58ed46 |
---|---|
452 | 452 |
453 if (curwin != curwin_save && win_valid(curwin_save)) | 453 if (curwin != curwin_save && win_valid(curwin_save)) |
454 { | 454 { |
455 /* Return cursor to where we were */ | 455 /* Return cursor to where we were */ |
456 validate_cursor(); | 456 validate_cursor(); |
457 redraw_later(NOT_VALID); | 457 redraw_later(SOME_VALID); |
458 | 458 |
459 /* When the preview window was resized we need to | 459 /* When the preview window was resized we need to |
460 * update the view on the buffer. Only go back to | 460 * update the view on the buffer. Only go back to |
461 * the window when needed, otherwise it will always be | 461 * the window when needed, otherwise it will always be |
462 * redraw. */ | 462 * redraw. */ |
496 */ | 496 */ |
497 void | 497 void |
498 pum_undisplay() | 498 pum_undisplay() |
499 { | 499 { |
500 pum_array = NULL; | 500 pum_array = NULL; |
501 redraw_all_later(NOT_VALID); | 501 redraw_all_later(SOME_VALID); |
502 } | 502 } |
503 | 503 |
504 /* | 504 /* |
505 * Clear the popup menu. Currently only resets the offset to the first | 505 * Clear the popup menu. Currently only resets the offset to the first |
506 * displayed item. | 506 * displayed item. |