Mercurial > vim
annotate src/proto/usercmd.pro @ 24039:a5478836fcb7 v8.2.2561
patch 8.2.2561: not all textprop code is covered by tests
Commit: https://github.com/vim/vim/commit/3dc3474f00e529b014add48f7f3d1dad2ec15498
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Mar 2 13:36:47 2021 +0100
patch 8.2.2561: not all textprop code is covered by tests
Problem: Not all textprop code is covered by tests.
Solution: Add a few more test cases. (Dominique Pell?, closes https://github.com/vim/vim/issues/7908)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 02 Mar 2021 13:45:05 +0100 |
parents | 8968ed4ba4ba |
children | 05f9e8f2016c |
rev | line source |
---|---|
16411
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
1 /* usercmd.c */ |
16466
a2befc9b3729
patch 8.1.1237: error for using "compl", reserved word in C++
Bram Moolenaar <Bram@vim.org>
parents:
16411
diff
changeset
|
2 char_u *find_ucmd(exarg_T *eap, char_u *p, int *full, expand_T *xp, int *complp); |
16411
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
3 char_u *set_context_in_user_cmd(expand_T *xp, char_u *arg_in); |
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
4 char_u *get_user_command_name(int idx); |
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
5 char_u *get_user_commands(expand_T *xp, int idx); |
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
6 char_u *get_user_cmd_addr_type(expand_T *xp, int idx); |
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
7 char_u *get_user_cmd_flags(expand_T *xp, int idx); |
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
8 char_u *get_user_cmd_nargs(expand_T *xp, int idx); |
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
9 char_u *get_user_cmd_complete(expand_T *xp, int idx); |
16466
a2befc9b3729
patch 8.1.1237: error for using "compl", reserved word in C++
Bram Moolenaar <Bram@vim.org>
parents:
16411
diff
changeset
|
10 int cmdcomplete_str_to_type(char_u *complete_str); |
16411
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
11 char *uc_fun_cmd(void); |
16466
a2befc9b3729
patch 8.1.1237: error for using "compl", reserved word in C++
Bram Moolenaar <Bram@vim.org>
parents:
16411
diff
changeset
|
12 int parse_compl_arg(char_u *value, int vallen, int *complp, long *argt, char_u **compl_arg); |
16411
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
13 void ex_command(exarg_T *eap); |
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
14 void ex_comclear(exarg_T *eap); |
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
15 void uc_clear(garray_T *gap); |
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
16 void ex_delcommand(exarg_T *eap); |
22703
f2bfee4ac356
patch 8.2.1900: Vim9: command modifiers do not work
Bram Moolenaar <Bram@vim.org>
parents:
20043
diff
changeset
|
17 size_t add_win_cmd_modifers(char_u *buf, cmdmod_T *cmod, int *multi_mods); |
22715
8968ed4ba4ba
patch 8.2.1906: warning for signed/unsigned
Bram Moolenaar <Bram@vim.org>
parents:
22703
diff
changeset
|
18 size_t produce_cmdmods(char_u *buf, cmdmod_T *cmod, int quote); |
16411
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
19 void do_ucmd(exarg_T *eap); |
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
20 /* vim: set ft=c : */ |