A simple change is made to source/tags.c so tags will locate C++ member functions or substrings if an exact match can't be found. I have only tested these changes under SGI IRIX 6.1. (Yunliang Yu, yu@math.duke.edu) ---------------------------------------------------------------------- diff -rc ../nedit_source.org/source/tags.c ./source/tags.c *** ../nedit_source.org/source/tags.c Wed Mar 20 16:13:49 1996 --- ./source/tags.c Fri May 24 14:06:43 1996 *************** *** 127,132 **** --- 127,153 ---- return TRUE; } } + + { /* changes to search for C++ member functions and substrings */ + char *p; + for (i=0, t=Tags; t->name!=NULL; i++, t++) { + if((p=strstr(t->name, "::"))!=NULL){ + p+=2; /* move over the :: */ + if (!strcmp(p, name)) { + *file = t->file; + *searchString = t->searchString; + return TRUE; + } + } + } + for (i=0, t=Tags; t->name!=NULL; i++, t++) { + if (strstr(t->name, name)!=NULL) { + *file = t->file; + *searchString = t->searchString; + return TRUE; + }} + } + return FALSE; }