Best would be to forbid changing the text while evaluating
'completefunc'. I vaguely remember that this would break some plugin,
but I can't remember why. If that does happen, we could forbid deleting
and inserting text lines, there should be no reason for that during
completion. But that would require introducing a new mechanism.
--
It doesn't really matter what you are able to do if you don't do it.
(Bram Moolenaar)
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language --
http://www.Zimbu.org ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///