0
0
mirror of https://github.com/vim/vim.git synced 2025-10-31 09:57:14 -04:00

updated for version 7.3.392

Problem:    When setting 'undofile' while the file is already loaded but
            unchanged, try reading the undo file. (Andy Wokula)
Solution:   Compute a checksum of the text when 'undofile' is set. (Christian
            Brabandt)
This commit is contained in:
Bram Moolenaar
2012-01-04 19:34:37 +01:00
parent 79a2a49c5a
commit 374d32d70f
4 changed files with 42 additions and 0 deletions

View File

@@ -51,6 +51,12 @@ dd:set ul=100
:e Xtestfile
uuu:w >>test.out
:"
:" Test that reading the undofiles when setting undofile works
:set noundofile ul=0
i
u:e! Xtestfile
:set undofile ul=100
uuuuuu:w >>test.out
:" And now with encryption, cryptmethod=zip
:e! Xtestfile
:set undofile cm=zip

View File

@@ -7,6 +7,16 @@ seven
eight
nine
ten
one
two
three
four
five
six
seven
eight
nine
ten
monday
wednesday
thursday