James Longstreet wrote:

> On 11/5/07, Bram Moolenaar <[EMAIL PROTECTED]> wrote:
> > I once looked into including diff code into Vim, but could only find
> > code that is relatively complicated.  If someone knows a nice,
> > well-behaving, small diff algorithm implementation in C that would help
> > a lot.
> 
> It's a bit messy from first glance, but I was able to find some
> MIT-licensed diff code in C:
> http://www.ioplex.com/~miallen/libmba/dl/src/diff.c

Thanks.  This indeed looks short enough to include in Vim, and the MIT
license is permissive.

Now we need someone to integrate this with Vim.  Volunteer?
The result should be that diff mode works faster and more reliable.
This means we don't need ":diffupdate" much.

And later we could use it to do this undo-after-file-load feature.

-- 
Warning label on a superhero Halloween costume:
"Caution: Cape does not enable user to fly."

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