Mercurial > vim
comparison src/proto/ex_docmd.pro @ 17835:fd6c8dc33152 v8.1.1914
patch 8.1.1914: command line expansion code is spread out
Commit: https://github.com/vim/vim/commit/d019039ccd7cbeae8923db20383a241d7fc77e2c
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Aug 23 21:17:35 2019 +0200
patch 8.1.1914: command line expansion code is spread out
Problem: Command line expansion code is spread out.
Solution: Move set_one_cmd_context(). (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/4855)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 23 Aug 2019 21:30:04 +0200 |
parents | 4a3dca734d36 |
children | 527b7084c556 |
comparison
equal
deleted
inserted
replaced
17834:6170a2c5faaf | 17835:fd6c8dc33152 |
---|---|
7 int parse_command_modifiers(exarg_T *eap, char **errormsg, int skip_only); | 7 int parse_command_modifiers(exarg_T *eap, char **errormsg, int skip_only); |
8 int parse_cmd_address(exarg_T *eap, char **errormsg, int silent); | 8 int parse_cmd_address(exarg_T *eap, char **errormsg, int silent); |
9 int checkforcmd(char_u **pp, char *cmd, int len); | 9 int checkforcmd(char_u **pp, char *cmd, int len); |
10 int modifier_len(char_u *cmd); | 10 int modifier_len(char_u *cmd); |
11 int cmd_exists(char_u *name); | 11 int cmd_exists(char_u *name); |
12 char_u *set_one_cmd_context(expand_T *xp, char_u *buff); | 12 cmdidx_T excmd_get_cmdidx(char_u *cmd, int len); |
13 long excmd_get_argt(cmdidx_T idx); | |
13 char_u *skip_range(char_u *cmd, int *ctx); | 14 char_u *skip_range(char_u *cmd, int *ctx); |
14 void ex_ni(exarg_T *eap); | 15 void ex_ni(exarg_T *eap); |
15 int expand_filename(exarg_T *eap, char_u **cmdlinep, char **errormsgp); | 16 int expand_filename(exarg_T *eap, char_u **cmdlinep, char **errormsgp); |
16 void separate_nextcmd(exarg_T *eap); | 17 void separate_nextcmd(exarg_T *eap); |
18 char_u *skip_cmd_arg( char_u *p, int rembs); | |
17 int get_bad_opt(char_u *p, exarg_T *eap); | 19 int get_bad_opt(char_u *p, exarg_T *eap); |
18 int ends_excmd(int c); | 20 int ends_excmd(int c); |
19 char_u *find_nextcmd(char_u *p); | 21 char_u *find_nextcmd(char_u *p); |
20 char_u *check_nextcmd(char_u *p); | 22 char_u *check_nextcmd(char_u *p); |
21 char_u *get_command_name(expand_T *xp, int idx); | 23 char_u *get_command_name(expand_T *xp, int idx); |
46 char_u *eval_vars(char_u *src, char_u *srcstart, int *usedlen, linenr_T *lnump, char **errormsg, int *escaped); | 48 char_u *eval_vars(char_u *src, char_u *srcstart, int *usedlen, linenr_T *lnump, char **errormsg, int *escaped); |
47 char_u *expand_sfile(char_u *arg); | 49 char_u *expand_sfile(char_u *arg); |
48 int put_eol(FILE *fd); | 50 int put_eol(FILE *fd); |
49 int put_line(FILE *fd, char *s); | 51 int put_line(FILE *fd, char *s); |
50 void dialog_msg(char_u *buff, char *format, char_u *fname); | 52 void dialog_msg(char_u *buff, char *format, char_u *fname); |
51 char_u *get_behave_arg(expand_T *xp, int idx); | |
52 char_u *get_messages_arg(expand_T *xp, int idx); | |
53 char_u *get_mapclear_arg(expand_T *xp, int idx); | |
54 void set_no_hlsearch(int flag); | 53 void set_no_hlsearch(int flag); |
55 int is_loclist_cmd(int cmdidx); | 54 int is_loclist_cmd(int cmdidx); |
56 int get_pressedreturn(void); | 55 int get_pressedreturn(void); |
57 void set_pressedreturn(int val); | 56 void set_pressedreturn(int val); |
58 /* vim: set ft=c : */ | 57 /* vim: set ft=c : */ |