Path: utzoo!attcan!uunet!zaphod.mps.ohio-state.edu!swrinde!ucsd!ucbvax!NORTHSTAR.DARTMOUTH.EDU!tobeye From: tobeye@NORTHSTAR.DARTMOUTH.EDU (Anthony Edwards) Newsgroups: comp.soft-sys.andrew Subject: tags inset Message-ID: Date: 29 Oct 90 17:11:07 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 29 [ excuse me if I posted this before (15-Mar-1990). I just discovered it in my old mail folder and it looked as though the message was never delivered. ] I am using EZ with ctext and tags. I'm really glad EZ has the tags feature - it is a very useful feature in an editor. However, the tags stuff is not implemented completely right: when I do a Find Tag, it finds the wrong tag. A tags file generated by ctags(1) is composed of three fields per line: the routine name, the file name, and the search string. Most search strings start with /^ to match the search string flush left. (They also typically have $/ at the end to force a match flush right as well, but I'm not worried about that right now.) EZ ignores this! EZ is matching on the first string that is identical. Imagine this fictitious C file: /* myfile.c - a fictitious C file */ /* routines in this file: main (int argc, char ** argv) foo (int x) */ main (int argc, char ** argv) { foo (argc); } foo (int x)