comparison src/proto/undo.pro @ 2394:a3aca345aafa vim73

Add the 'undoreload' option to be able to undo a file reload.
author Bram Moolenaar <bram@vim.org>
date Sat, 24 Jul 2010 20:27:03 +0200
parents 3331756e4232
children 88751831fa0a
comparison
equal deleted inserted replaced
2393:210a5605e126 2394:a3aca345aafa
3 int u_save __ARGS((linenr_T top, linenr_T bot)); 3 int u_save __ARGS((linenr_T top, linenr_T bot));
4 int u_savesub __ARGS((linenr_T lnum)); 4 int u_savesub __ARGS((linenr_T lnum));
5 int u_inssub __ARGS((linenr_T lnum)); 5 int u_inssub __ARGS((linenr_T lnum));
6 int u_savedel __ARGS((linenr_T lnum, long nlines)); 6 int u_savedel __ARGS((linenr_T lnum, long nlines));
7 int undo_allowed __ARGS((void)); 7 int undo_allowed __ARGS((void));
8 int u_savecommon __ARGS((linenr_T top, linenr_T bot, linenr_T newbot, int reload));
8 void u_compute_hash __ARGS((char_u *hash)); 9 void u_compute_hash __ARGS((char_u *hash));
9 char_u *u_get_undo_file_name __ARGS((char_u *buf_ffname, int reading)); 10 char_u *u_get_undo_file_name __ARGS((char_u *buf_ffname, int reading));
10 void u_write_undo __ARGS((char_u *name, int forceit, buf_T *buf, char_u *hash)); 11 void u_write_undo __ARGS((char_u *name, int forceit, buf_T *buf, char_u *hash));
11 void u_read_undo __ARGS((char_u *name, char_u *hash, char_u *orig_name)); 12 void u_read_undo __ARGS((char_u *name, char_u *hash, char_u *orig_name));
12 void u_undo __ARGS((int count)); 13 void u_undo __ARGS((int count));