comparison runtime/doc/tagsrch.txt @ 15808:37d31fc37a5a v8.1.0911

patch 8.1.0911: tag line with Ex command cannot have extra fields commit https://github.com/vim/vim/commit/943e9639a9ecb08bdec78ae6695c917bca6210b9 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Feb 13 21:19:14 2019 +0100 patch 8.1.0911: tag line with Ex command cannot have extra fields Problem: Tag line with Ex command cannot have extra fields. Solution: Recognize |;" as the end of the command. (closes https://github.com/vim/vim/issues/2402)
author Bram Moolenaar <Bram@vim.org>
date Wed, 13 Feb 2019 21:30:06 +0100
parents f8b0f1e42f2c
children 314694a2e74a
comparison
equal deleted inserted replaced
15807:55ffa98b7166 15808:37d31fc37a5a
569 |tag-security|). Posix only allows line numbers and search 569 |tag-security|). Posix only allows line numbers and search
570 commands, which are mostly used. 570 commands, which are mostly used.
571 {term} ;" The two characters semicolon and double quote. This is 571 {term} ;" The two characters semicolon and double quote. This is
572 interpreted by Vi as the start of a comment, which makes the 572 interpreted by Vi as the start of a comment, which makes the
573 following be ignored. This is for backwards compatibility 573 following be ignored. This is for backwards compatibility
574 with Vi, it ignores the following fields. 574 with Vi, it ignores the following fields. Example:
575 APP file /^static int APP;$/;" v
576 When {tagaddress} is not a line number or search pattern, then
577 {term} must be |;". Here the bar ends the command (excluding
578 the bar) and ;" is used to have Vi ignore the rest of the
579 line. Example:
580 APP file.c call cursor(3, 4)|;" v
581
575 {field} .. A list of optional fields. Each field has the form: 582 {field} .. A list of optional fields. Each field has the form:
576 583
577 <Tab>{fieldname}:{value} 584 <Tab>{fieldname}:{value}
578 585
579 The {fieldname} identifies the field, and can only contain 586 The {fieldname} identifies the field, and can only contain