Bram Moolenaar wrote:
> Jordan Lewis wrote:
>>    * Undo persistence - save a representation of the tree to a file on
>>      or before exit
>>     
>
> This would be really nice.  But it's very likely too much work for the
> SoC.  Especially because it must work very reliably.
>   
I have been thinking more about a possible implementation of this, and I 
think that the main
difficulty would be coming up with a text-based (or binary) 
representation of the undo tree that is
isomorphic to the undo tree data structure. Once that is overcome, 
though, I don't think that
the saving/loading functionality (which comes down to converting the 
data structure into
the file representation and back) would be too much work for me in the 
2+ months that
SoC consists of. There are already some hints on how this might be done 
in the other .viminfo
data as far as I can tell, for example per-file mark history.

It sounds like you know about another difficulty that I am missing, 
however, and I would
greatly appreciate if you could explain what it is so I can revise my 
proposal.

Thanks,

Jordan Lewis

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

Raspunde prin e-mail lui