Eric Arnold wrote:

> This will allow scripts to use the statusline and tabline as button click 
> areas.
> 
> 
> +                                             *'mousefunction'* *'mfn'*
> + 'mousefunc' 'mfn'   string  (default empty)
> +                     global
> +                     {not in Vi}
> +     When nonempty, this option calls the given function when a mouse click
> +     is detected.  It expects the function to accept these arguments,
> + >
> +         MouseFunc( mouse_row, mouse_col, key )
> + <
> +     This will deliver mouse clicks on the statusline and tabline, and
> +     areas of the screen with no text.  It does not deliver mouse clicks on
> +     the command line area.  The function should return 0 to consume the
> +     mouse click, or 1 to pass it on transparently.
> +
> +

Besides a lot of details that need to be fixed: What would be a useful
application for this functionality?

-- 
How many light bulbs does it take to change a person?

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
-- 
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui