comparison runtime/doc/editing.txt @ 2239:732cb7b31956 vim73

Crypt the text in the undo file if the file itself is crypted.
author Bram Moolenaar <bram@vim.org>
date Sun, 30 May 2010 22:48:02 +0200
parents 014a996ac896
children 646d34788036
comparison
equal deleted inserted replaced
2238:3d0a7beb0d75 2239:732cb7b31956
1364 You can use the 'cryptmethod' option to select the type of encryption. Do 1364 You can use the 'cryptmethod' option to select the type of encryption. Do
1365 this before writing the file. When reading an encrypted file it will be set 1365 this before writing the file. When reading an encrypted file it will be set
1366 automatically to the method used when that file was written. You can change 1366 automatically to the method used when that file was written. You can change
1367 'cryptmethod' before writing that file to change the method. 1367 'cryptmethod' before writing that file to change the method.
1368 1368
1369 When writing an undo file, the same key and method will be used for the text
1370 in the undo file. |persistent-undo|.
1371
1369 *E817* *E818* *E819* *E820* 1372 *E817* *E818* *E819* *E820*
1370 When encryption does not work properly, you would be able to write your text 1373 When encryption does not work properly, you would be able to write your text
1371 to a file and never be able to read it back. Therefore a test is performed to 1374 to a file and never be able to read it back. Therefore a test is performed to
1372 check if the encryption works as expected. If you get one of these errors 1375 check if the encryption works as expected. If you get one of these errors
1373 don't write the file encrypted! You need to rebuild the Vim binary to fix 1376 don't write the file encrypted! You need to rebuild the Vim binary to fix