Format of persistent history undofiles

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Format of persistent history undofiles

Brian Lew
Hi All,

I was wondering if there is any documentation about the format of the persistent history undofiles generated when the undofile option is set.

I am looking to read them in programmatically (outside of vim) and noticed that they are in a binary format.

Any information would be greatly appreciated!

Thanks!

Brian

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/b19175d1-ddf4-40b7-8632-a64fea6eaa2e%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Format of persistent history undofiles

Bram Moolenaar

Brian Lew wrote:

> I was wondering if there is any documentation about the format of the
> persistent history undofiles generated when the undofile option is set.
>
> I am looking to read them in programmatically (outside of vim) and noticed
> that they are in a binary format.
>
> Any information would be greatly appreciated!

There is no documentation other than the source code.

The format is private to Vim, it's not supposed to be used in any other
way.  However, since existing undo files must be readable by future
versions of Vim, they can be expected to be backwards compatible.

--
hundred-and-one symptoms of being an internet addict:
26. You check your mail. It says "no new messages." So you check it again.

 /// Bram Moolenaar -- [hidden email] -- 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_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/202004261741.03QHff6X005313%40masaka.moolenaar.net.