Mercurial > vim
diff 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 |
line wrap: on
line diff
--- a/src/proto/undo.pro +++ b/src/proto/undo.pro @@ -5,6 +5,7 @@ int u_savesub __ARGS((linenr_T lnum)); int u_inssub __ARGS((linenr_T lnum)); int u_savedel __ARGS((linenr_T lnum, long nlines)); int undo_allowed __ARGS((void)); +int u_savecommon __ARGS((linenr_T top, linenr_T bot, linenr_T newbot, int reload)); void u_compute_hash __ARGS((char_u *hash)); char_u *u_get_undo_file_name __ARGS((char_u *buf_ffname, int reading)); void u_write_undo __ARGS((char_u *name, int forceit, buf_T *buf, char_u *hash));