Matsushita Shougo wrote:
> Hi, I found complete_check() doesn't check called from script behavior.
>
> In complete_check() source code,
>
> >int saved = RedrawingDisabled;
>
> >RedrawingDisabled = 0;
> >ins_compl_check_keys(0);
> >rettv->vval.v_number = compl_interrupted;
> >RedrawingDisabled = saved;
>
> complete_check() doesn't clear compl_interrupted when called from
> other script(not from completefunc or omnifunc).
> So I fixed this below patch.
When would a complete function be used while reading from a script?
Can you give an example of where this problem occurs?
--
Far out in the uncharted backwaters of the unfashionable end of the
Western Spiral arm of the Galaxy lies a small unregarded yellow sun.
Orbiting this at a distance of roughly ninety-eight million miles is an
utterly insignificant little blue-green planet whose ape-descended life
forms are so amazingly primitive that they still think digital watches
are a pretty neat idea ...
-- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
/// Bram Moolenaar -- [email protected] -- 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 ///
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php