Mercurial > vim
comparison src/proto/undo.pro @ 2214:f8222d1f9a73 vim73
Included patch for persistent undo. Lots of changes and added test.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 23 May 2010 23:34:36 +0200 |
parents | b5c914e467f7 |
children | aa6412cab544 |
comparison
equal
deleted
inserted
replaced
2213:0e0e99d1092e | 2214:f8222d1f9a73 |
---|---|
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 void u_compute_hash __ARGS((char_u *hash)); | |
9 void u_read_undo __ARGS((char_u *name, char_u *hash)); | |
10 void u_write_undo __ARGS((char_u *name, int forceit, buf_T *buf, char_u *hash)); | |
8 void u_undo __ARGS((int count)); | 11 void u_undo __ARGS((int count)); |
9 void u_redo __ARGS((int count)); | 12 void u_redo __ARGS((int count)); |
10 void undo_time __ARGS((long step, int sec, int absolute)); | 13 void undo_time __ARGS((long step, int sec, int absolute)); |
11 void u_sync __ARGS((int force)); | 14 void u_sync __ARGS((int force)); |
12 void ex_undolist __ARGS((exarg_T *eap)); | 15 void ex_undolist __ARGS((exarg_T *eap)); |