Hi Hari!

On Do, 03 Sep 2009, Hari Krishna Dara wrote:

> 
> On Thu, Sep 3, 2009 at 3:59 PM, Christian Brabandt<[email protected]> wrote:
> >
> > Hi Hari!
> >
> > On Mi, 02 Sep 2009, Hari Krishna Dara wrote:
> >
> >> I couldn't determine if this was discussed before by searching. I want
> >> to export the current vimdiff to html, but 2html.vim only exports on
> >> window at a time. Is there a plugin or a trick to come up with both
> >> the windows participating in the diff?
> >
> > Interesting question. A made a simple hack, that will display all
> > diffed files in a frameset. See
> > http://www.256bit.org/~chrisbra/patches/Diff.html for the generated
> > html file
> > and
> > http://www.256bit.org/~chrisbra/patches/tohtml_diff.diff for the patch
> > to tohtml.vim
> >
> > Frames have the advantaged of beeing relatively simply created, (I
> > made no changes to syntax/2html.vim) but the disadvantage of not being able
> > to get synchronized scrolled (except for javascript maybe?)
> 
> Exactly... I first thought about frames, but didn't consider it for two 
> reasons:
> - synchronization is not possible or straight-forward (as you mentioned 
> above).
> - Copy pasting into a HTML/RTF email is not easy/possible.

Try 

http://www.256bit.org/~chrisbra/patches/tohtml_diff1.diff for the patch
and http://www.256bit.org/~chrisbra/patches/Diff2.html for the generated
html file


regards,
Christian
-- 
It is illegal to take more than three sips of beer at a time while standing.
                [real standing law in Texas, United States of America]

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to