>
> Have you tried using winsaveview() before moving the cursor around and
> then winrestview()?
>

As per the help manual (:he complete-functions)
"The function is allowed to move the cursor, it is restored
afterwards.  This
option cannot be set from a |modeline| or in the |sandbox|, for
security
reasons."

so wouldn't it be the job of 'complete functions' to restore the
cursor?

Regards,
Kkde

-- 
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

Raspunde prin e-mail lui