Mercurial > vim
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 |
rev | line source |
---|---|
7 | 1 /* ex_docmd.c */ |
1144 | 2 void do_exmode __ARGS((int improved)); |
3 int do_cmdline_cmd __ARGS((char_u *cmd)); | |
3312 | 4 int do_cmdline __ARGS((char_u *cmdline, char_u *(*fgetline)(int, void *, int), void *cookie, int flags)); |
1144 | 5 int getline_equal __ARGS((char_u *(*fgetline)(int, void *, int), void *cookie, char_u *(*func)(int, void *, int))); |
6 void *getline_cookie __ARGS((char_u *(*fgetline)(int, void *, int), void *cookie)); | |
7 int checkforcmd __ARGS((char_u **pp, char *cmd, int len)); | |
1447 | 8 int modifier_len __ARGS((char_u *cmd)); |
1144 | 9 int cmd_exists __ARGS((char_u *name)); |
10 char_u *set_one_cmd_context __ARGS((expand_T *xp, char_u *buff)); | |
11 char_u *skip_range __ARGS((char_u *cmd, int *ctx)); | |
12 void ex_ni __ARGS((exarg_T *eap)); | |
13 int expand_filename __ARGS((exarg_T *eap, char_u **cmdlinep, char_u **errormsgp)); | |
14 void separate_nextcmd __ARGS((exarg_T *eap)); | |
15 int ends_excmd __ARGS((int c)); | |
16 char_u *find_nextcmd __ARGS((char_u *p)); | |
17 char_u *check_nextcmd __ARGS((char_u *p)); | |
18 char_u *get_command_name __ARGS((expand_T *xp, int idx)); | |
19 void ex_comclear __ARGS((exarg_T *eap)); | |
20 void uc_clear __ARGS((garray_T *gap)); | |
21 char_u *get_user_commands __ARGS((expand_T *xp, int idx)); | |
6424 | 22 char_u *get_user_cmd_addr_type __ARGS((expand_T *xp, int idx)); |
1144 | 23 char_u *get_user_cmd_flags __ARGS((expand_T *xp, int idx)); |
24 char_u *get_user_cmd_nargs __ARGS((expand_T *xp, int idx)); | |
25 char_u *get_user_cmd_complete __ARGS((expand_T *xp, int idx)); | |
6424 | 26 int parse_addr_type_arg __ARGS((char_u *value, int vallen, long *argt, int *addr_type_arg)); |
1144 | 27 int parse_compl_arg __ARGS((char_u *value, int vallen, int *complp, long *argt, char_u **compl_arg)); |
28 void not_exiting __ARGS((void)); | |
29 void tabpage_close __ARGS((int forceit)); | |
30 void tabpage_close_other __ARGS((tabpage_T *tp, int forceit)); | |
31 void ex_all __ARGS((exarg_T *eap)); | |
32 void handle_drop __ARGS((int filec, char_u **filev, int split)); | |
33 void alist_clear __ARGS((alist_T *al)); | |
34 void alist_init __ARGS((alist_T *al)); | |
35 void alist_unlink __ARGS((alist_T *al)); | |
36 void alist_new __ARGS((void)); | |
37 void alist_expand __ARGS((int *fnum_list, int fnum_len)); | |
38 void alist_set __ARGS((alist_T *al, int count, char_u **files, int use_curbuf, int *fnum_list, int fnum_len)); | |
39 void alist_add __ARGS((alist_T *al, char_u *fname, int set_fnum)); | |
40 void alist_slash_adjust __ARGS((void)); | |
41 void ex_splitview __ARGS((exarg_T *eap)); | |
42 void tabpage_new __ARGS((void)); | |
43 void do_exedit __ARGS((exarg_T *eap, win_T *old_curwin)); | |
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 | 46 void ex_cd __ARGS((exarg_T *eap)); |
1144 | 47 void do_sleep __ARGS((long msec)); |
6424 | 48 void ex_may_print __ARGS((exarg_T *eap)); |
1144 | 49 int vim_mkdir_emsg __ARGS((char_u *name, int prot)); |
50 FILE *open_exfile __ARGS((char_u *fname, int forceit, char *mode)); | |
51 void update_topline_cursor __ARGS((void)); | |
52 void exec_normal_cmd __ARGS((char_u *cmd, int remap, int silent)); | |
1661 | 53 int find_cmdline_var __ARGS((char_u *src, int *usedlen)); |
1144 | 54 char_u *eval_vars __ARGS((char_u *src, char_u *srcstart, int *usedlen, linenr_T *lnump, char_u **errormsg, int *escaped)); |
55 char_u *expand_sfile __ARGS((char_u *arg)); | |
56 int put_eol __ARGS((FILE *fd)); | |
57 int put_line __ARGS((FILE *fd, char *s)); | |
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 | 60 /* vim: set ft=c : */ |