Mercurial > vim
diff runtime/doc/undo.txt @ 15512:f0f06837a699
Update runtime files.
commit https://github.com/vim/vim/commit/d09091d4955c5f41de69928f2db85611ed54ed23
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jan 17 16:07:22 2019 +0100
Update runtime files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 17 Jan 2019 16:15:08 +0100 |
parents | 5c5908e81e93 |
children | 0e473e9e70c2 |
line wrap: on
line diff
--- a/runtime/doc/undo.txt +++ b/runtime/doc/undo.txt @@ -1,4 +1,4 @@ -*undo.txt* For Vim version 8.1. Last change: 2014 May 24 +*undo.txt* For Vim version 8.1. Last change: 2019 Jan 04 VIM REFERENCE MANUAL by Bram Moolenaar @@ -259,6 +259,12 @@ changed with the 'undodir' option. When the file is encrypted, the text in the undo file is also crypted. The same key and method is used. |encryption| +Note that text properties are not stored in the undo file. You can restore +text properties so long as a buffer is loaded, but you cannot restore them +from an undo file. Rationale: It would require the associated text property +types to be defined in exactly the same was as before, which cannot be +guaranteed. + You can also save and restore undo histories by using ":wundo" and ":rundo" respectively: *:wundo* *:rundo*