annotate src/proto/undo.pro @ 2760:7fb8cdb9cb25 v7.3.156

updated for version 7.3.156 Problem: Tty names possibly left unterminated. Solution: Use vim_strncpy() instead of strncpy().
author Bram Moolenaar <bram@vim.org>
date Mon, 11 Apr 2011 14:24:37 +0200
parents 88751831fa0a
children 21b0a39d13ed
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 /* undo.c */
1136
b5c914e467f7 updated for version 7.1a
vimboss
parents: 912
diff changeset
2 int u_save_cursor __ARGS((void));
b5c914e467f7 updated for version 7.1a
vimboss
parents: 912
diff changeset
3 int u_save __ARGS((linenr_T top, linenr_T bot));
b5c914e467f7 updated for version 7.1a
vimboss
parents: 912
diff changeset
4 int u_savesub __ARGS((linenr_T lnum));
b5c914e467f7 updated for version 7.1a
vimboss
parents: 912
diff changeset
5 int u_inssub __ARGS((linenr_T lnum));
b5c914e467f7 updated for version 7.1a
vimboss
parents: 912
diff changeset
6 int u_savedel __ARGS((linenr_T lnum, long nlines));
b5c914e467f7 updated for version 7.1a
vimboss
parents: 912
diff changeset
7 int undo_allowed __ARGS((void));
2394
a3aca345aafa Add the 'undoreload' option to be able to undo a file reload.
Bram Moolenaar <bram@vim.org>
parents: 2289
diff changeset
8 int u_savecommon __ARGS((linenr_T top, linenr_T bot, linenr_T newbot, int reload));
2214
f8222d1f9a73 Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents: 1136
diff changeset
9 void u_compute_hash __ARGS((char_u *hash));
2236
dc2e5ec0500d Added the undofile() function. Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2231
diff changeset
10 char_u *u_get_undo_file_name __ARGS((char_u *buf_ffname, int reading));
dc2e5ec0500d Added the undofile() function. Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2231
diff changeset
11 void u_write_undo __ARGS((char_u *name, int forceit, buf_T *buf, char_u *hash));
2238
3d0a7beb0d75 Made reading/writing undo info a bit more robust.
Bram Moolenaar <bram@vim.org>
parents: 2236
diff changeset
12 void u_read_undo __ARGS((char_u *name, char_u *hash, char_u *orig_name));
1136
b5c914e467f7 updated for version 7.1a
vimboss
parents: 912
diff changeset
13 void u_undo __ARGS((int count));
b5c914e467f7 updated for version 7.1a
vimboss
parents: 912
diff changeset
14 void u_redo __ARGS((int count));
2281
e41433ea71df Added ":earlier 1f" and ":later 1f".
Bram Moolenaar <bram@vim.org>
parents: 2280
diff changeset
15 void undo_time __ARGS((long step, int sec, int file, int absolute));
1136
b5c914e467f7 updated for version 7.1a
vimboss
parents: 912
diff changeset
16 void u_sync __ARGS((int force));
b5c914e467f7 updated for version 7.1a
vimboss
parents: 912
diff changeset
17 void ex_undolist __ARGS((exarg_T *eap));
b5c914e467f7 updated for version 7.1a
vimboss
parents: 912
diff changeset
18 void ex_undojoin __ARGS((exarg_T *eap));
b5c914e467f7 updated for version 7.1a
vimboss
parents: 912
diff changeset
19 void u_unchanged __ARGS((buf_T *buf));
2482
88751831fa0a When undoing a reload, move the cursor to the first changed line.
Bram Moolenaar <bram@vim.org>
parents: 2394
diff changeset
20 void u_find_first_changed __ARGS((void));
2281
e41433ea71df Added ":earlier 1f" and ":later 1f".
Bram Moolenaar <bram@vim.org>
parents: 2280
diff changeset
21 void u_update_save_nr __ARGS((buf_T *buf));
1136
b5c914e467f7 updated for version 7.1a
vimboss
parents: 912
diff changeset
22 void u_clearall __ARGS((buf_T *buf));
b5c914e467f7 updated for version 7.1a
vimboss
parents: 912
diff changeset
23 void u_saveline __ARGS((linenr_T lnum));
b5c914e467f7 updated for version 7.1a
vimboss
parents: 912
diff changeset
24 void u_clearline __ARGS((void));
b5c914e467f7 updated for version 7.1a
vimboss
parents: 912
diff changeset
25 void u_undoline __ARGS((void));
b5c914e467f7 updated for version 7.1a
vimboss
parents: 912
diff changeset
26 void u_blockfree __ARGS((buf_T *buf));
b5c914e467f7 updated for version 7.1a
vimboss
parents: 912
diff changeset
27 int bufIsChanged __ARGS((buf_T *buf));
b5c914e467f7 updated for version 7.1a
vimboss
parents: 912
diff changeset
28 int curbufIsChanged __ARGS((void));
2280
941ff1cd317a Add file save counter to undo information. Add undotree() function.
Bram Moolenaar <bram@vim.org>
parents: 2238
diff changeset
29 void u_eval_tree __ARGS((u_header_T *first_uhp, list_T *list));
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 /* vim: set ft=c : */