summaryrefslogtreecommitdiffstats
path: root/runtime/doc/undo.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-01-17 16:07:22 +0100
committerBram Moolenaar <Bram@vim.org>2019-01-17 16:07:22 +0100
commitd09091d4955c5f41de69928f2db85611ed54ed23 (patch)
tree9ae3f6b6c693334f58138064918222640c049ff5 /runtime/doc/undo.txt
parentbb1969b6ab28120c93b77817e7b6075e1aecf663 (diff)
Update runtime files.
Diffstat (limited to 'runtime/doc/undo.txt')
-rw-r--r--runtime/doc/undo.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/runtime/doc/undo.txt b/runtime/doc/undo.txt
index 2ada2a6f4d..b6c9809c2c 100644
--- 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*