blob: f6741c6bc1f5c57c40c7951fa72683f9d90894df [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 Moolenaar59f931e2010-07-24 20:27:03 +02008int u_savecommon __ARGS((linenr_T top, linenr_T bot, linenr_T newbot, int reload));
Bram Moolenaar55debbe2010-05-23 23:34:36 +02009void u_compute_hash __ARGS((char_u *hash));
Bram Moolenaara17d4c12010-05-30 18:30:36 +020010char_u *u_get_undo_file_name __ARGS((char_u *buf_ffname, int reading));
Bram Moolenaar55debbe2010-05-23 23:34:36 +020011void u_write_undo __ARGS((char_u *name, int forceit, buf_T *buf, char_u *hash));
Bram Moolenaar6ed8ed82010-05-30 20:40:11 +020012void u_read_undo __ARGS((char_u *name, char_u *hash, char_u *orig_name));
Bram Moolenaar8bc78472007-05-06 12:26:25 +000013void u_undo __ARGS((int count));
14void u_redo __ARGS((int count));
Bram Moolenaar730cde92010-06-27 05:18:54 +020015void undo_time __ARGS((long step, int sec, int file, int absolute));
Bram Moolenaar8bc78472007-05-06 12:26:25 +000016void u_sync __ARGS((int force));
17void ex_undolist __ARGS((exarg_T *eap));
18void ex_undojoin __ARGS((exarg_T *eap));
19void u_unchanged __ARGS((buf_T *buf));
Bram Moolenaarf9bb7342010-08-04 14:29:54 +020020void u_find_first_changed __ARGS((void));
Bram Moolenaar730cde92010-06-27 05:18:54 +020021void u_update_save_nr __ARGS((buf_T *buf));
Bram Moolenaar8bc78472007-05-06 12:26:25 +000022void u_clearall __ARGS((buf_T *buf));
23void u_saveline __ARGS((linenr_T lnum));
24void u_clearline __ARGS((void));
25void u_undoline __ARGS((void));
26void u_blockfree __ARGS((buf_T *buf));
27int bufIsChanged __ARGS((buf_T *buf));
28int curbufIsChanged __ARGS((void));
Bram Moolenaara800b422010-06-27 01:15:55 +020029void u_eval_tree __ARGS((u_header_T *first_uhp, list_T *list));
Bram Moolenaar071d4272004-06-13 20:20:40 +000030/* vim: set ft=c : */