annotate src/proto/ex_docmd.pro @ 7480:a49163681559 v7.4.1042

commit https://github.com/vim/vim/commit/ed767a2073ef150971b0439a58e7ee582af6984e Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 3 22:49:16 2016 +0100 patch 7.4.1042 Problem: g-CTRL-G shows the word count, but there is no way to get the word count in a script. Solution: Add the wordcount() function. (Christian Brabandt)
author Christian Brabandt <cb@256bit.org>
date Sun, 03 Jan 2016 23:00:04 +0100
parents de877dab1c31
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 /* ex_docmd.c */
1144
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
2 void do_exmode __ARGS((int improved));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
3 int do_cmdline_cmd __ARGS((char_u *cmd));
3312
b7811ab264bf updated for version 7.3.423
Bram Moolenaar <bram@vim.org>
parents: 2097
diff changeset
4 int do_cmdline __ARGS((char_u *cmdline, char_u *(*fgetline)(int, void *, int), void *cookie, int flags));
1144
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
5 int getline_equal __ARGS((char_u *(*fgetline)(int, void *, int), void *cookie, char_u *(*func)(int, void *, int)));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
6 void *getline_cookie __ARGS((char_u *(*fgetline)(int, void *, int), void *cookie));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
7 int checkforcmd __ARGS((char_u **pp, char *cmd, int len));
1447
dac5006b4443 updated for version 7.1-162
vimboss
parents: 1411
diff changeset
8 int modifier_len __ARGS((char_u *cmd));
1144
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
9 int cmd_exists __ARGS((char_u *name));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
10 char_u *set_one_cmd_context __ARGS((expand_T *xp, char_u *buff));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
11 char_u *skip_range __ARGS((char_u *cmd, int *ctx));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
12 void ex_ni __ARGS((exarg_T *eap));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
13 int expand_filename __ARGS((exarg_T *eap, char_u **cmdlinep, char_u **errormsgp));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
14 void separate_nextcmd __ARGS((exarg_T *eap));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
15 int ends_excmd __ARGS((int c));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
16 char_u *find_nextcmd __ARGS((char_u *p));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
17 char_u *check_nextcmd __ARGS((char_u *p));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
18 char_u *get_command_name __ARGS((expand_T *xp, int idx));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
19 void ex_comclear __ARGS((exarg_T *eap));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
20 void uc_clear __ARGS((garray_T *gap));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
21 char_u *get_user_commands __ARGS((expand_T *xp, int idx));
6424
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents: 5776
diff changeset
22 char_u *get_user_cmd_addr_type __ARGS((expand_T *xp, int idx));
1144
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
23 char_u *get_user_cmd_flags __ARGS((expand_T *xp, int idx));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
24 char_u *get_user_cmd_nargs __ARGS((expand_T *xp, int idx));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
25 char_u *get_user_cmd_complete __ARGS((expand_T *xp, int idx));
6424
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents: 5776
diff changeset
26 int parse_addr_type_arg __ARGS((char_u *value, int vallen, long *argt, int *addr_type_arg));
1144
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
27 int parse_compl_arg __ARGS((char_u *value, int vallen, int *complp, long *argt, char_u **compl_arg));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
28 void not_exiting __ARGS((void));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
29 void tabpage_close __ARGS((int forceit));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
30 void tabpage_close_other __ARGS((tabpage_T *tp, int forceit));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
31 void ex_all __ARGS((exarg_T *eap));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
32 void handle_drop __ARGS((int filec, char_u **filev, int split));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
33 void alist_clear __ARGS((alist_T *al));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
34 void alist_init __ARGS((alist_T *al));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
35 void alist_unlink __ARGS((alist_T *al));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
36 void alist_new __ARGS((void));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
37 void alist_expand __ARGS((int *fnum_list, int fnum_len));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
38 void alist_set __ARGS((alist_T *al, int count, char_u **files, int use_curbuf, int *fnum_list, int fnum_len));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
39 void alist_add __ARGS((alist_T *al, char_u *fname, int set_fnum));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
40 void alist_slash_adjust __ARGS((void));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
41 void ex_splitview __ARGS((exarg_T *eap));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
42 void tabpage_new __ARGS((void));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
43 void do_exedit __ARGS((exarg_T *eap, win_T *old_curwin));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
44 void free_cd_dir __ARGS((void));
5112
f063be86b632 updated for version 7.3.1299
Bram Moolenaar <bram@vim.org>
parents: 4704
diff changeset
45 void post_chdir __ARGS((int local));
1411
0e6b369b9760 updated for version 7.1-126
vimboss
parents: 1144
diff changeset
46 void ex_cd __ARGS((exarg_T *eap));
1144
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
47 void do_sleep __ARGS((long msec));
6424
de877dab1c31 updated for version 7.4.542
Bram Moolenaar <bram@vim.org>
parents: 5776
diff changeset
48 void ex_may_print __ARGS((exarg_T *eap));
1144
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
49 int vim_mkdir_emsg __ARGS((char_u *name, int prot));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
50 FILE *open_exfile __ARGS((char_u *fname, int forceit, char *mode));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
51 void update_topline_cursor __ARGS((void));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
52 void exec_normal_cmd __ARGS((char_u *cmd, int remap, int silent));
1661
5bbc2d6658ad updated for version 7.2a-013
vimboss
parents: 1447
diff changeset
53 int find_cmdline_var __ARGS((char_u *src, int *usedlen));
1144
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
54 char_u *eval_vars __ARGS((char_u *src, char_u *srcstart, int *usedlen, linenr_T *lnump, char_u **errormsg, int *escaped));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
55 char_u *expand_sfile __ARGS((char_u *arg));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
56 int put_eol __ARGS((FILE *fd));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
57 int put_line __ARGS((FILE *fd, char *s));
01a998071f6c updated for version 7.1a
vimboss
parents: 1098
diff changeset
58 void dialog_msg __ARGS((char_u *buff, char *format, char_u *fname));
2097
8f72e3512b43 updated for version 7.2.381
Bram Moolenaar <bram@zimbu.org>
parents: 1661
diff changeset
59 char_u *get_behave_arg __ARGS((expand_T *xp, int idx));
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 /* vim: set ft=c : */