Mercurial > vim
annotate src/proto/tag.pro @ 31859:8b15e4161605 v9.0.1262
patch 9.0.1262: the did_set_string_option function is too long
Commit: https://github.com/vim/vim/commit/f2e30d0c448b9754d0d4daa901b51fbbf4c30747
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Mon Jan 30 13:04:42 2023 +0000
patch 9.0.1262: the did_set_string_option function is too long
Problem: The did_set_string_option function is too long.
Solution: Split off functionality to individual functions. (Yegappan
Lakshmanan, Lewis Russell, closes #11904)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 30 Jan 2023 14:15:05 +0100 |
parents | 13ba00ef7687 |
children | ca6bc7c04163 |
rev | line source |
---|---|
7 | 1 /* tag.c */ |
31859
8b15e4161605
patch 9.0.1262: the did_set_string_option function is too long
Bram Moolenaar <Bram@vim.org>
parents:
26518
diff
changeset
|
2 char *set_tagfunc_option(void); |
26268
3aa48d4e3dc8
patch 8.2.3665: cannot use a lambda for 'tagfunc'
Bram Moolenaar <Bram@vim.org>
parents:
16188
diff
changeset
|
3 void free_tagfunc_option(void); |
26518
13ba00ef7687
patch 8.2.3788: lambda for option that is a function may be freed
Bram Moolenaar <Bram@vim.org>
parents:
26388
diff
changeset
|
4 int set_ref_in_tagfunc(int copyID); |
26388
8aba638e91eb
patch 8.2.3725: cannot use a lambda for 'completefunc' and 'omnifunc'
Bram Moolenaar <Bram@vim.org>
parents:
26268
diff
changeset
|
5 void set_buflocal_tfu_callback(buf_T *buf); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1126
diff
changeset
|
6 int do_tag(char_u *tag, int type, int count, int forceit, int verbose); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1126
diff
changeset
|
7 void tag_freematch(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1126
diff
changeset
|
8 void do_tags(exarg_T *eap); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1126
diff
changeset
|
9 int find_tags(char_u *pat, int *num_matches, char_u ***matchesp, int flags, int mincount, char_u *buf_ffname); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1126
diff
changeset
|
10 void free_tag_stuff(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1126
diff
changeset
|
11 int get_tagfname(tagname_T *tnp, int first, char_u *buf); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1126
diff
changeset
|
12 void tagname_free(tagname_T *tnp); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
1126
diff
changeset
|
13 int expand_tags(int tagnames, char_u *pat, int *num_file, char_u ***file); |
11225
d3415ec1cdaf
patch 8.0.0499: taglist() does not prioritize tags for a buffer
Christian Brabandt <cb@256bit.org>
parents:
7668
diff
changeset
|
14 int get_tags(list_T *list, char_u *pat, char_u *buf_fname); |
15016
c338c91086b9
patch 8.1.0519: cannot save and restore the tag stack
Bram Moolenaar <Bram@vim.org>
parents:
11225
diff
changeset
|
15 void get_tagstack(win_T *wp, dict_T *retdict); |
c338c91086b9
patch 8.1.0519: cannot save and restore the tag stack
Bram Moolenaar <Bram@vim.org>
parents:
11225
diff
changeset
|
16 int set_tagstack(win_T *wp, dict_T *d, int action); |
7 | 17 /* vim: set ft=c : */ |