Rick Howe wrote:

> 'diffupdate' does not cause any event on internal diff.
> 
> My script checks FilterWritePost event and show how many lines are
> 'DiffAdded', 'DiffChaneged' and 'DiffDeleted' in stausline on each diff mode 
> window.
> It works fine for external diff.
> 
> For internal diff, I can update it by checking OptionSet event.
> It works for 'diffthis' and 'diffoff', but not work for 'diffupdate'.
> 
> Is there any solution to solve this problem?

Using FilterWritePost was already a bit of a hack.  Let's add an event
specifically for diffs being updated.

-- 
hundred-and-one symptoms of being an internet addict:
66. You create a homepage with the impression to cure the afflicted...but
    your hidden agenda is to receive more e-mail.

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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui