I wrote: > Hey Scott, > > > When I put cursor on "Derived1::func();", SmartTag takes me to the > > implementation of Derived2::func(). ie 2 lines above the cursor. Which > > is a bit strange cos that must mean that the search finds the *last* > > occurance of the search pattern. > > I tried this and it worked for me, going straight to Derived1::func().
Oops, I should have tested further. I added a line "Derived2::func()" and that also goes to Derived1::func() for me, so I'm getting the same problem but instead of always going to the second one, it is always going to the first one. As it builds the list of possible tags, it should be removing the ones where the class doesn't match, so I don't know why that's not working in this case. I don't have time to try to re-understand my code in any depth right now, but will let you know if I figure it out. Otherwise, let me know if you figure it out :-) Rob. -- Robert Webb <[email protected]>, Software developer http://www.software3d.com -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
