Lines Matching defs:curtag
75 static struct tag *curtag;
105 curtag = NULL;
205 if (curtag == NULL)
207 if (curtag->tag_linenum != 0)
265 * Sets curtag to the first tag entry.
371 curtag = taglist.tl_first;
382 if (curtag == NULL)
384 return (edit(curtag->tag_file));
449 len = (int) strlen(curtag->tag_pattern);
450 if (strncmp(curtag->tag_pattern, line, len) == 0 &&
451 (!curtag->tag_endline || line[len] == '\0' || line[len] == '\r'))
453 curtag->tag_linenum = find_linenum(linepos);
470 * Sets curtag to the first tag entry.
584 curtag = NULL;
595 curtag = tp;
612 if (curtag == NULL)
616 tp = curtag->next;
622 curtag = taglist.tl_first;
626 curtag = tp;
629 return (curtag->tag_file);
642 if (curtag == NULL)
646 tp = curtag->prev;
652 curtag = taglist.tl_last;
656 curtag = tp;
659 return (curtag->tag_file);
670 if (curtag == NULL)
672 return (find_pos(curtag->tag_linenum));