Mercurial > vim
comparison src/ex_cmds.c @ 1668:0b796e045c42 v7.2b.000
updated for version 7.2b-000
author | vimboss |
---|---|
date | Sun, 13 Jul 2008 17:41:49 +0000 |
parents | 18ee39301b82 |
children | 75dbeedddaa9 |
comparison
equal
deleted
inserted
replaced
1667:131dbd3d2a4b | 1668:0b796e045c42 |
---|---|
9 | 9 |
10 /* | 10 /* |
11 * ex_cmds.c: some functions for command line commands | 11 * ex_cmds.c: some functions for command line commands |
12 */ | 12 */ |
13 | 13 |
14 #if defined(MSDOS) || defined(MSWIN) | 14 #if defined(MSDOS) || defined(WIN16) || defined(WIN32) || defined(_WIN64) |
15 # include "vimio.h" /* for mch_open(), must be before vim.h */ | 15 # include "vimio.h" /* for mch_open(), must be before vim.h */ |
16 #endif | 16 #endif |
17 | 17 |
18 #include "vim.h" | 18 #include "vim.h" |
19 #include "version.h" | 19 #include "version.h" |
5890 *matches = (char_u **)""; | 5890 *matches = (char_u **)""; |
5891 *num_matches = 0; | 5891 *num_matches = 0; |
5892 flags = TAG_HELP | TAG_REGEXP | TAG_NAMES | TAG_VERBOSE; | 5892 flags = TAG_HELP | TAG_REGEXP | TAG_NAMES | TAG_VERBOSE; |
5893 if (keep_lang) | 5893 if (keep_lang) |
5894 flags |= TAG_KEEP_LANG; | 5894 flags |= TAG_KEEP_LANG; |
5895 if (find_tags(IObuff, num_matches, matches, flags, (int)MAXCOL, NULL) == OK | 5895 if (find_tags(IObuff, num_matches, matches, flags, TAG_MANY, NULL) == OK |
5896 && *num_matches > 0) | 5896 && *num_matches > 0) |
5897 /* Sort the matches found on the heuristic number that is after the | 5897 /* Sort the matches found on the heuristic number that is after the |
5898 * tag name. */ | 5898 * tag name. */ |
5899 qsort((void *)*matches, (size_t)*num_matches, | 5899 qsort((void *)*matches, (size_t)*num_matches, |
5900 sizeof(char_u *), help_compare); | 5900 sizeof(char_u *), help_compare); |