I find the NEARNESS support to be very helpful in that where one has multiple definitions of the same token NEARNESS more often then not find the definition I am interested in.
I note that NEARNESS feature does not work with -r as "--from-here" does not support the -r option. Is it possible to extend to get this support? I have a system in which I have 10s of definitions of type:
ModuleA_filterThings(){}
ModuleB_filterThings(){}
I call these methods by reference, in code I have something like:
r->filterThings();
where correct function pointer has been set so that in typically the "nearest" ModuleX_filterThings() would be correct definition.
At present doing a regex search for "filterThings" does not respect nearness order, is it too difficult to get this?
GHT