Author Topic: What is the logic behind the up and down arrows beside the function chooser?  (Read 889 times)

Offline Arthur

  • Hero Member
  • *****
  • Posts: 620
  • Karma: +1/-0
  • He who is ashamed of asking is afraid of learning.
    • View Profile
    • My Blog
* 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.

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1666
  • Karma: +29/-2
    • View Profile
    • HippoEDIT
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.

Offline Arthur

  • Hero Member
  • *****
  • Posts: 620
  • Karma: +1/-0
  • He who is ashamed of asking is afraid of learning.
    • View Profile
    • My Blog
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.
« Last Edit: May 04, 2009, 03:31:08 am by Arthur »

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1666
  • Karma: +29/-2
    • View Profile
    • HippoEDIT
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.
« Last Edit: May 04, 2009, 08:50:36 am by alex »

Offline Arthur

  • Hero Member
  • *****
  • Posts: 620
  • Karma: +1/-0
  • He who is ashamed of asking is afraid of learning.
    • View Profile
    • My Blog
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.

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
457 Views
Last post February 19, 2009, 05:34:04 pm
by alex
1 Replies
517 Views
Last post July 27, 2009, 03:52:53 pm
by alex
7 Replies
583 Views
Last post April 10, 2010, 04:07:03 am
by Arthur
2 Replies
299 Views
Last post November 24, 2010, 03:14:39 am
by jgodfrey
2 Replies
122 Views
Last post June 10, 2011, 11:21:55 pm
by swbrains