Home » U++ Library support » U++ Library : Other (not classified elsewhere) » navigate does not always work correctly
Re: navigate does not always work correctly [message #28656 is a reply to message #28639] |
Thu, 09 September 2010 12:47 |
|
Hi aftershock,
I was able to reproduce the behavior you describe, it just took me a while before realizing that you talk about "Context go to", which is Alt+J. One of us probably have redefined the shortcut.
Anyway, I looked at the code performing the jumps. It learned me that there is a lot of functionality I never knew about and which is also not documented. I think I will update the docs.
After all, I found that the problem is that for some reason the parser thinks that the variables in functions are global. So it takes you the place where it is first declared. I'm not sure, if it is a bug or if it is by design that the function scope is not honored. I guess only Mirek knows that. I think that it is not a big deal that it doesn't work for local variables, they are usually declared not very far away.
Honza
|
|
|
Goto Forum:
Current Time: Sun May 05 06:34:54 CEST 2024
Total time taken to generate the page: 0.05468 seconds
|