If a popup window is closed, moved or resized, the windows under it are
updated with UPD_NOT_VALID. The window contents (with text and
attributes) isn't cached, it needs to be recomputed. Normally this is
fast enough, but with complex syntax highlighting it can be a bit slow.
Caching the text and attributes under the popup might be possible, but
it is tricky. Especially with completion, some text might be put in the
line (which is removed again when not using the completion) which
requires redrawing text around it. The caching only helps in limited
situations.
What would help in general is to make syntax highlighting faster. At
least avoid bottlenecks.
--
CRONE: Who sent you?
ARTHUR: The Knights Who Say Ni!
CRONE: Aaaagh! (she looks around in rear) No! We have no shrubberies here.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///