annotate src/proto/fileio.pro @ 3390:de60f6fa3d8d v7.3.461

updated for version 7.3.461 Problem: The InsertCharPre autocommand event is not triggered during completion and when typing several characters quickly. Solution: Also trigger InsertCharPre during completion. Do not read ahead when an InsertCharPre autocommand is defined. (Yasuhiro Matsumoto)
author Bram Moolenaar <bram@vim.org>
date Wed, 29 Feb 2012 18:22:08 +0100
parents 198ec1fff71a
children c83cd3d01128
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 /* fileio.c */
1123
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
2 void filemess __ARGS((buf_T *buf, char_u *name, char_u *s, int attr));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
3 int readfile __ARGS((char_u *fname, char_u *sfname, linenr_T from, linenr_T lines_to_skip, linenr_T lines_to_read, exarg_T *eap, int flags));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
4 int prep_exarg __ARGS((exarg_T *eap, buf_T *buf));
2239
732cb7b31956 Crypt the text in the undo file if the file itself is crypted.
Bram Moolenaar <bram@vim.org>
parents: 1411
diff changeset
5 int prepare_crypt_read __ARGS((FILE *fp));
732cb7b31956 Crypt the text in the undo file if the file itself is crypted.
Bram Moolenaar <bram@vim.org>
parents: 1411
diff changeset
6 char_u *prepare_crypt_write __ARGS((buf_T *buf, int *lenp));
1303
da0991871b02 updated for version 7.1-017
vimboss
parents: 1123
diff changeset
7 int check_file_readonly __ARGS((char_u *fname, int perm));
1123
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
8 int buf_write __ARGS((buf_T *buf, char_u *fname, char_u *sfname, linenr_T start, linenr_T end, exarg_T *eap, int append, int forceit, int reset_changed, int filtering));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
9 void msg_add_fname __ARGS((buf_T *buf, char_u *fname));
2241
60da25e3aab7 Correct use of long instead of off_t for file size. (James Vega)
Bram Moolenaar <bram@vim.org>
parents: 2239
diff changeset
10 void msg_add_lines __ARGS((int insert_space, long lnum, off_t nchars));
1411
0e6b369b9760 updated for version 7.1-126
vimboss
parents: 1410
diff changeset
11 char_u *shorten_fname1 __ARGS((char_u *full_path));
1123
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
12 char_u *shorten_fname __ARGS((char_u *full_path, char_u *dir_name));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
13 void shorten_fnames __ARGS((int force));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
14 void shorten_filenames __ARGS((char_u **fnames, int count));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
15 char_u *modname __ARGS((char_u *fname, char_u *ext, int prepend_dot));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
16 char_u *buf_modname __ARGS((int shortname, char_u *fname, char_u *ext, int prepend_dot));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
17 int vim_fgets __ARGS((char_u *buf, int size, FILE *fp));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
18 int tag_fgets __ARGS((char_u *buf, int size, FILE *fp));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
19 int vim_rename __ARGS((char_u *from, char_u *to));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
20 int check_timestamps __ARGS((int focus));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
21 int buf_check_timestamp __ARGS((buf_T *buf, int focus));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
22 void buf_reload __ARGS((buf_T *buf, int orig_mode));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
23 void buf_store_time __ARGS((buf_T *buf, struct stat *st, char_u *fname));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
24 void write_lnum_adjust __ARGS((linenr_T offset));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
25 void vim_deltempdir __ARGS((void));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
26 char_u *vim_tempname __ARGS((int extra_char));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
27 void forward_slash __ARGS((char_u *fname));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
28 void aubuflocal_remove __ARGS((buf_T *buf));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
29 int au_has_group __ARGS((char_u *name));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
30 void do_augroup __ARGS((char_u *arg, int del_group));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
31 void free_all_autocmds __ARGS((void));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
32 int check_ei __ARGS((void));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
33 char_u *au_event_disable __ARGS((char *what));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
34 void au_event_restore __ARGS((char_u *old_ei));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
35 void do_autocmd __ARGS((char_u *arg, int forceit));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
36 int do_doautocmd __ARGS((char_u *arg, int do_msg));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
37 void ex_doautoall __ARGS((exarg_T *eap));
3350
198ec1fff71a updated for version 7.3.442
Bram Moolenaar <bram@vim.org>
parents: 2664
diff changeset
38 int check_nomodeline __ARGS((char_u **argp));
1123
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
39 void aucmd_prepbuf __ARGS((aco_save_T *aco, buf_T *buf));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
40 void aucmd_restbuf __ARGS((aco_save_T *aco));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
41 int apply_autocmds __ARGS((event_T event, char_u *fname, char_u *fname_io, int force, buf_T *buf));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
42 int apply_autocmds_retval __ARGS((event_T event, char_u *fname, char_u *fname_io, int force, buf_T *buf, int *retval));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
43 int has_cursorhold __ARGS((void));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
44 int trigger_cursorhold __ARGS((void));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
45 int has_cursormoved __ARGS((void));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
46 int has_cursormovedI __ARGS((void));
3390
de60f6fa3d8d updated for version 7.3.461
Bram Moolenaar <bram@vim.org>
parents: 3350
diff changeset
47 int has_insertcharpre __ARGS((void));
1410
cdd82acd75b4 updated for version 7.1-125
vimboss
parents: 1303
diff changeset
48 void block_autocmds __ARGS((void));
cdd82acd75b4 updated for version 7.1-125
vimboss
parents: 1303
diff changeset
49 void unblock_autocmds __ARGS((void));
1123
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
50 int has_autocmd __ARGS((event_T event, char_u *sfname, buf_T *buf));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
51 char_u *get_augroup_name __ARGS((expand_T *xp, int idx));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
52 char_u *set_context_in_autocmd __ARGS((expand_T *xp, char_u *arg, int doautocmd));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
53 char_u *get_event_name __ARGS((expand_T *xp, int idx));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
54 int autocmd_supported __ARGS((char_u *name));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
55 int au_exists __ARGS((char_u *arg));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
56 int match_file_pat __ARGS((char_u *pattern, regprog_T *prog, char_u *fname, char_u *sfname, char_u *tail, int allow_dirs));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
57 int match_file_list __ARGS((char_u *list, char_u *sfname, char_u *ffname));
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 800
diff changeset
58 char_u *file_pat_to_reg_pat __ARGS((char_u *pat, char_u *pat_end, char *allow_dirs, int no_bslash));
2664
033e7b49356c updated for version 7.3.083
Bram Moolenaar <bram@vim.org>
parents: 2266
diff changeset
59 long read_eintr __ARGS((int fd, void *buf, size_t bufsize));
033e7b49356c updated for version 7.3.083
Bram Moolenaar <bram@vim.org>
parents: 2266
diff changeset
60 long write_eintr __ARGS((int fd, void *buf, size_t bufsize));
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 /* vim: set ft=c : */