What is the logic behind the up and down arrows beside the function chooser?

Started by Arthur, May 01, 2009, 10:54:10 PM

Previous topic - Next topic

Arthur

* Potentially this is a bug.
I just cannot figure out what logic drives the up and down arrows beside the function name chooser (illustrated), in any case it does not make sense in my scenario and does not take me to the same places consistently, it depends in what function I happened to be in.

alex

Hello Arthur,

they navigates you to next/previous label (function) in the navigation (label) list.
Next/Previous function calculated based on current cursor position.

Best regards,
Alex.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

Arthur

But in my case they take me elsewhere.  I mean here it can go to an "if" statement for example and that if may not be necessarily the next one up/down. This is checked against the newest beta that seems operating more precise so to speak.

alex

Yes, you are right. But I do not think that there are differenses with new beta. I have done no changes there. Probably it is because you have tried with another document.
It goes to next if (but should not, because if, for etc labelsĀ  marked as non navigatable). Should skip them and go to next/previous navigatable label, as in the list.

Would be fixed next beta. Thanks for a bug report ;)

Best regards,
Alex.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

Arthur

You are correct, I have just tried it with different documents and the results are different. For example in one (C#) document the arrows took me to lines containing if statements (not necessarily the next though), for loops and even a declaration of a class.