Hi,

You can build your ctags database with the option :

--extra=+q

after that you can run the cmd :

:tag /^CRectangle::set_values$

Regards,

Vissale

2006/8/16, A Bera <[EMAIL PROTECTED]>:
Hi,

I would like to search tags for Class::member in a c++
file. For example, I have the following class in a
header file:

 class CRectangle
 {
     int x, y;

   public:
     void set_values (int,int);
     int area (void);
 };

Also I have their implementation in a different file.
Now consider the following case:

 int main ()
 {
   CRectangle rect;
   rect.set_values (3,4);
   cout << "area: " << rect.area();
   return 0;
 }


when I press ^] at set_values(), I would like to do a
look-up on "CRectangle::set_values" not only
"set_values" or "rect.set_values()". let me know how
can I ask vim to do a look up for
"CRectangle::set_values"?

Thanks,
A Bera




---------------------------------




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Reply via email to