Mercurial > vim
annotate 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 |
rev | line source |
---|---|
7 | 1 /* undo.c */ |
1136 | 2 int u_save_cursor __ARGS((void)); |
3 int u_save __ARGS((linenr_T top, linenr_T bot)); | |
4 int u_savesub __ARGS((linenr_T lnum)); | |
5 int u_inssub __ARGS((linenr_T lnum)); | |
6 int u_savedel __ARGS((linenr_T lnum, long nlines)); | |
7 int undo_allowed __ARGS((void)); | |
2214
f8222d1f9a73
Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents:
1136
diff
changeset
|
8 void u_compute_hash __ARGS((char_u *hash)); |
f8222d1f9a73
Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents:
1136
diff
changeset
|
9 void u_read_undo __ARGS((char_u *name, char_u *hash)); |
f8222d1f9a73
Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents:
1136
diff
changeset
|
10 void u_write_undo __ARGS((char_u *name, int forceit, buf_T *buf, char_u *hash)); |
1136 | 11 void u_undo __ARGS((int count)); |
12 void u_redo __ARGS((int count)); | |
13 void undo_time __ARGS((long step, int sec, int absolute)); | |
14 void u_sync __ARGS((int force)); | |
15 void ex_undolist __ARGS((exarg_T *eap)); | |
16 void ex_undojoin __ARGS((exarg_T *eap)); | |
17 void u_unchanged __ARGS((buf_T *buf)); | |
18 void u_clearall __ARGS((buf_T *buf)); | |
19 void u_saveline __ARGS((linenr_T lnum)); | |
20 void u_clearline __ARGS((void)); | |
21 void u_undoline __ARGS((void)); | |
22 void u_blockfree __ARGS((buf_T *buf)); | |
23 int bufIsChanged __ARGS((buf_T *buf)); | |
24 int curbufIsChanged __ARGS((void)); | |
7 | 25 /* vim: set ft=c : */ |