blob: a914c4925c6e7b168909218344e4ea11d80e2061 [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001/* undo.c */
Bram Moolenaar8bc78472007-05-06 12:26:25 +00002int u_save_cursor __ARGS((void));
3int u_save __ARGS((linenr_T top, linenr_T bot));
4int u_savesub __ARGS((linenr_T lnum));
5int u_inssub __ARGS((linenr_T lnum));
6int u_savedel __ARGS((linenr_T lnum, long nlines));
7int undo_allowed __ARGS((void));
Bram Moolenaar55debbe2010-05-23 23:34:36 +02008void u_compute_hash __ARGS((char_u *hash));
Bram Moolenaara17d4c12010-05-30 18:30:36 +02009char_u *u_get_undo_file_name __ARGS((char_u *buf_ffname, int reading));
Bram Moolenaar55debbe2010-05-23 23:34:36 +020010void u_write_undo __ARGS((char_u *name, int forceit, buf_T *buf, char_u *hash));
Bram Moolenaar6ed8ed82010-05-30 20:40:11 +020011void u_read_undo __ARGS((char_u *name, char_u *hash, char_u *orig_name));
Bram Moolenaar8bc78472007-05-06 12:26:25 +000012void u_undo __ARGS((int count));
13void u_redo __ARGS((int count));
Bram Moolenaar730cde92010-06-27 05:18:54 +020014void undo_time __ARGS((long step, int sec, int file, int absolute));
Bram Moolenaar8bc78472007-05-06 12:26:25 +000015void u_sync __ARGS((int force));
16void ex_undolist __ARGS((exarg_T *eap));
17void ex_undojoin __ARGS((exarg_T *eap));
18void u_unchanged __ARGS((buf_T *buf));
Bram Moolenaar730cde92010-06-27 05:18:54 +020019void u_update_save_nr __ARGS((buf_T *buf));
Bram Moolenaar8bc78472007-05-06 12:26:25 +000020void u_clearall __ARGS((buf_T *buf));
21void u_saveline __ARGS((linenr_T lnum));
22void u_clearline __ARGS((void));
23void u_undoline __ARGS((void));
24void u_blockfree __ARGS((buf_T *buf));
25int bufIsChanged __ARGS((buf_T *buf));
26int curbufIsChanged __ARGS((void));
Bram Moolenaara800b422010-06-27 01:15:55 +020027void u_eval_tree __ARGS((u_header_T *first_uhp, list_T *list));
Bram Moolenaar071d4272004-06-13 20:20:40 +000028/* vim: set ft=c : */