annotate src/proto/buffer.pro @ 6138:3f92ef156c66 v7.4.407

updated for version 7.4.407 Problem: Inserting text for Visual block mode, with cursor movement, repeats the wrong text. (Aleksandar Ivanov) Solution: Reset the update_Insstart_orig flag. (Christian Brabandt)
author Bram Moolenaar <bram@vim.org>
date Sat, 16 Aug 2014 18:13:03 +0200
parents 8edba3805d78
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 /* buffer.c */
2394
a3aca345aafa Add the 'undoreload' option to be able to undo a file reload.
Bram Moolenaar <bram@vim.org>
parents: 1869
diff changeset
2 int open_buffer __ARGS((int read_stdin, exarg_T *eap, int flags));
1131
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
3 int buf_valid __ARGS((buf_T *buf));
3365
9ccdc4a69d8f updated for version 7.3.449
Bram Moolenaar <bram@vim.org>
parents: 2394
diff changeset
4 void close_buffer __ARGS((win_T *win, buf_T *buf, int action, int abort_if_last));
1131
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
5 void buf_clear_file __ARGS((buf_T *buf));
2394
a3aca345aafa Add the 'undoreload' option to be able to undo a file reload.
Bram Moolenaar <bram@vim.org>
parents: 1869
diff changeset
6 void buf_freeall __ARGS((buf_T *buf, int flags));
1131
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
7 void goto_buffer __ARGS((exarg_T *eap, int start, int dir, int count));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
8 void handle_swap_exists __ARGS((buf_T *old_curbuf));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
9 char_u *do_bufdel __ARGS((int command, char_u *arg, int addr_count, int start_bnr, int end_bnr, int forceit));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
10 int do_buffer __ARGS((int action, int start, int dir, int count, int forceit));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
11 void set_curbuf __ARGS((buf_T *buf, int action));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
12 void enter_buffer __ARGS((buf_T *buf));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
13 void do_autochdir __ARGS((void));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
14 buf_T *buflist_new __ARGS((char_u *ffname, char_u *sfname, linenr_T lnum, int flags));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
15 void free_buf_options __ARGS((buf_T *buf, int free_p_ff));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
16 int buflist_getfile __ARGS((int n, linenr_T lnum, int options, int forceit));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
17 void buflist_getfpos __ARGS((void));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
18 buf_T *buflist_findname_exp __ARGS((char_u *fname));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
19 buf_T *buflist_findname __ARGS((char_u *ffname));
4236
23ce9a61bdc2 updated for version 7.3.869
Bram Moolenaar <bram@vim.org>
parents: 3839
diff changeset
20 int buflist_findpat __ARGS((char_u *pattern, char_u *pattern_end, int unlisted, int diffmode, int curtab_only));
1131
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
21 int ExpandBufnames __ARGS((char_u *pat, int *num_file, char_u ***file, int options));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
22 buf_T *buflist_findnr __ARGS((int nr));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
23 char_u *buflist_nr2name __ARGS((int n, int fullname, int helptail));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
24 void get_winopts __ARGS((buf_T *buf));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
25 pos_T *buflist_findfpos __ARGS((buf_T *buf));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
26 linenr_T buflist_findlnum __ARGS((buf_T *buf));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
27 void buflist_list __ARGS((exarg_T *eap));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
28 int buflist_name_nr __ARGS((int fnum, char_u **fname, linenr_T *lnum));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
29 int setfname __ARGS((buf_T *buf, char_u *ffname, char_u *sfname, int message));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
30 void buf_set_name __ARGS((int fnum, char_u *name));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
31 void buf_name_changed __ARGS((buf_T *buf));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
32 buf_T *setaltfname __ARGS((char_u *ffname, char_u *sfname, linenr_T lnum));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
33 char_u *getaltfname __ARGS((int errmsg));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
34 int buflist_add __ARGS((char_u *fname, int flags));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
35 void buflist_slash_adjust __ARGS((void));
1743
734d5bdae499 updated for version 7.2-041
vimboss
parents: 1131
diff changeset
36 void buflist_altfpos __ARGS((win_T *win));
1131
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
37 int otherfile __ARGS((char_u *ffname));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
38 void buf_setino __ARGS((buf_T *buf));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
39 void fileinfo __ARGS((int fullname, int shorthelp, int dont_truncate));
1869
720a59d79bcd updated for version 7.2-168
vimboss
parents: 1743
diff changeset
40 void col_print __ARGS((char_u *buf, size_t buflen, int col, int vcol));
1131
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
41 void maketitle __ARGS((void));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
42 void resettitle __ARGS((void));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
43 void free_titles __ARGS((void));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
44 int build_stl_str_hl __ARGS((win_T *wp, char_u *out, size_t outlen, char_u *fmt, int use_sandbox, int fillchar, int maxwidth, struct stl_hlrec *hltab, struct stl_hlrec *tabtab));
1869
720a59d79bcd updated for version 7.2-168
vimboss
parents: 1743
diff changeset
45 void get_rel_pos __ARGS((win_T *wp, char_u *buf, int buflen));
1131
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
46 char_u *fix_fname __ARGS((char_u *fname));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
47 void fname_expand __ARGS((buf_T *buf, char_u **ffname, char_u **sfname));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
48 char_u *alist_name __ARGS((aentry_T *aep));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
49 void do_arg_all __ARGS((int count, int forceit, int keep_tabs));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
50 void ex_buffer_all __ARGS((exarg_T *eap));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
51 void do_modelines __ARGS((int flags));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
52 int read_viminfo_bufferlist __ARGS((vir_T *virp, int writing));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
53 void write_viminfo_bufferlist __ARGS((FILE *fp));
3839
8115f449a574 updated for version 7.3.677
Bram Moolenaar <bram@vim.org>
parents: 3672
diff changeset
54 char_u *buf_spname __ARGS((buf_T *buf));
5202
8edba3805d78 updated for version 7.4a.027
Bram Moolenaar <bram@vim.org>
parents: 4236
diff changeset
55 int find_win_for_buf __ARGS((buf_T *buf, win_T **wp, tabpage_T **tp));
1131
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
56 void buf_addsign __ARGS((buf_T *buf, int id, linenr_T lnum, int typenr));
1869
720a59d79bcd updated for version 7.2-168
vimboss
parents: 1743
diff changeset
57 linenr_T buf_change_sign_type __ARGS((buf_T *buf, int markId, int typenr));
720a59d79bcd updated for version 7.2-168
vimboss
parents: 1743
diff changeset
58 int buf_getsigntype __ARGS((buf_T *buf, linenr_T lnum, int type));
1131
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
59 linenr_T buf_delsign __ARGS((buf_T *buf, int id));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
60 int buf_findsign __ARGS((buf_T *buf, int id));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
61 int buf_findsign_id __ARGS((buf_T *buf, linenr_T lnum));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
62 int buf_findsigntype_id __ARGS((buf_T *buf, linenr_T lnum, int typenr));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
63 int buf_signcount __ARGS((buf_T *buf, linenr_T lnum));
3672
5aad2c444a00 updated for version 7.3.596
Bram Moolenaar <bram@vim.org>
parents: 3365
diff changeset
64 void buf_delete_signs __ARGS((buf_T *buf));
1131
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
65 void buf_delete_all_signs __ARGS((void));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
66 void sign_list_placed __ARGS((buf_T *rbuf));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
67 void sign_mark_adjust __ARGS((linenr_T line1, linenr_T line2, long amount, long amount_after));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
68 void set_buflisted __ARGS((int on));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
69 int buf_contents_changed __ARGS((buf_T *buf));
c82da8beb64a updated for version 7.1a
vimboss
parents: 961
diff changeset
70 void wipe_buffer __ARGS((buf_T *buf, int aucmd));
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 /* vim: set ft=c : */