Mercurial > vim
comparison runtime/doc/tagsrch.txt @ 17036:235cbf491430
Update runtime files
commit https://github.com/vim/vim/commit/12ee7ff00b91d852e060bb24951d1c94239863eb
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jun 10 22:47:40 2019 +0200
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 10 Jun 2019 23:00:08 +0200 |
parents | d23afa4d8b63 |
children | e9a47bcf7b94 |
comparison
equal
deleted
inserted
replaced
17035:a4b23aa54dca | 17036:235cbf491430 |
---|---|
1 *tagsrch.txt* For Vim version 8.1. Last change: 2019 Jun 02 | 1 *tagsrch.txt* For Vim version 8.1. Last change: 2019 Jun 10 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
83 Note that when the current file changes, the priority list is mostly not | 83 Note that when the current file changes, the priority list is mostly not |
84 changed, to avoid confusion when using ":tnext". It is changed when using | 84 changed, to avoid confusion when using ":tnext". It is changed when using |
85 ":tag {name}". | 85 ":tag {name}". |
86 | 86 |
87 The ignore-case matches are not found for a ":tag" command when: | 87 The ignore-case matches are not found for a ":tag" command when: |
88 - the 'ignorecase' option is off and 'tagcase' is "followic" | 88 - 'tagcase' is "followic" and the 'ignorecase' option is off |
89 - 'tagcase' is "followscs" and the 'ignorecase' option is off and the | |
90 'smartcase' option is off or the pattern contains an upper case character. | |
89 - 'tagcase' is "match" | 91 - 'tagcase' is "match" |
90 - 'tagcase' is "smart" and the pattern contains an upper case character. | 92 - 'tagcase' is "smart" and the pattern contains an upper case character. |
91 - 'tagcase' is "followscs" and 'smartcase' option is on and the pattern | |
92 contains an upper case character. | |
93 | 93 |
94 The ignore-case matches are found when: | 94 The ignore-case matches are found when: |
95 - a pattern is used (starting with a "/") | 95 - a pattern is used (starting with a "/") |
96 - for ":tselect" | 96 - for ":tselect" |
97 - when 'tagcase' is "followic" and 'ignorecase' is off | 97 - when 'tagcase' is "followic" and 'ignorecase' is on |
98 - when 'tagcase' is "match" | 98 - when 'tagcase' is "followscs" and 'ignorecase' is on or the 'smartcase' |
99 - when 'tagcase' is "followscs" and the 'smartcase' option is off | 99 option is on and the pattern does not contain an upper case character |
100 - when 'tagcase' is "ignore" | |
101 - when 'tagcase' is "smart" and the patter does not contain an upper case | |
102 character | |
100 | 103 |
101 Note that using ignore-case tag searching disables binary searching in the | 104 Note that using ignore-case tag searching disables binary searching in the |
102 tags file, which causes a slowdown. This can be avoided by fold-case sorting | 105 tags file, which causes a slowdown. This can be avoided by fold-case sorting |
103 the tag file. See the 'tagbsearch' option for an explanation. | 106 the tag file. See the 'tagbsearch' option for an explanation. |
104 | 107 |
501 | 504 |
502 Some programs that generate tags files: | 505 Some programs that generate tags files: |
503 ctags As found on most Unix systems. Only supports C. Only | 506 ctags As found on most Unix systems. Only supports C. Only |
504 does the basic work. | 507 does the basic work. |
505 *Exuberant_ctags* | 508 *Exuberant_ctags* |
506 exuberant ctags This a very good one. It works for C, C++, Java, | 509 exuberant ctags This is a very good one. It works for C, C++, Java, |
507 Fortran, Eiffel and others. It can generate tags for | 510 Fortran, Eiffel and others. It can generate tags for |
508 many items. See http://ctags.sourceforge.net. | 511 many items. See http://ctags.sourceforge.net. |
509 etags Connected to Emacs. Supports many languages. | 512 etags Connected to Emacs. Supports many languages. |
510 JTags For Java, in Java. It can be found at | 513 JTags For Java, in Java. It can be found at |
511 http://www.fleiner.com/jtags/. | 514 http://www.fleiner.com/jtags/. |
822 :[range]dsp[lit][!] [count] [/]string[/] | 825 :[range]dsp[lit][!] [count] [/]string[/] |
823 Like "CTRL-W d", but search in [range] lines | 826 Like "CTRL-W d", but search in [range] lines |
824 (default: whole file). | 827 (default: whole file). |
825 See |:search-args| for [/] and [!]. | 828 See |:search-args| for [/] and [!]. |
826 | 829 |
827 *:che* *:chec* *:check* *:checkpath* | 830 *:che* *:chec* *:check* *:checkpath* |
828 :che[ckpath] List all the included files that could not be found. | 831 :che[ckpath] List all the included files that could not be found. |
829 | 832 |
830 :che[ckpath]! List all the included files. | 833 :che[ckpath]! List all the included files. |
831 | 834 |
832 *:search-args* | 835 *:search-args* |
893 can be used to disambiguate tags between operations. | 896 can be used to disambiguate tags between operations. |
894 | 897 |
895 If the function returns |v:null| instead of a List, a standard tag lookup will | 898 If the function returns |v:null| instead of a List, a standard tag lookup will |
896 be performed instead. | 899 be performed instead. |
897 | 900 |
898 It is not allowed to change the tagstack from inside 'tagfunc'. *E986* | 901 It is not allowed to change the tagstack from inside 'tagfunc'. *E986* |
899 | 902 |
900 The following is a hypothetical example of a function used for 'tagfunc'. It | 903 The following is a hypothetical example of a function used for 'tagfunc'. It |
901 uses the output of |taglist()| to generate the result: a list of tags in the | 904 uses the output of |taglist()| to generate the result: a list of tags in the |
902 inverse order of file names. | 905 inverse order of file names. |
903 > | 906 > |