Author Topic: How did the Go button supposed to work?  (Read 1930 times)

Offline Arthur

  • Registered User
  • Hero Member
  • *
  • Posts: 653
  • Karma: +1/-0
  • He who is ashamed of asking is afraid of learning.
    • View Profile
    • My Blog
How did the Go button supposed to work?
« on: March 22, 2009, 03:56:06 am »
I am not following how the Go button is supposed to be working.

For example I am editing a JavaScript document. So if I am inside a certain function I get its name reflected on the upper right where on the right off it there is a Go button.

Then no matter what I type in or if even I copy and paste the function declaration the Go button does not seem to care.

I am puzzled, am I not comprehending something?

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2181
  • Karma: +37/-3
    • View Profile
    • HippoEDIT
Re: How did the Go button supposed to work?
« Reply #1 on: March 22, 2009, 03:52:53 pm »
The Go button should set cursor to definition of the function where you are noe.
In the example yous hown it should be definition of the DispatchVars.

If the cursor is on the include file, and it is defined as label, then corresponding file should be open.

I thought in the future to merge some how Go button with Smart Navigate but a behaviour of the actions a little but different.

Offline Arthur

  • Registered User
  • Hero Member
  • *
  • Posts: 653
  • Karma: +1/-0
  • He who is ashamed of asking is afraid of learning.
    • View Profile
    • My Blog
Re: How did the Go button supposed to work?
« Reply #2 on: March 23, 2009, 04:43:02 am »
Then there is a bug surrounding its functionality  :-\.

In that file in some [simple] functions it works as described above, but in any more complex functions with nested IFs for example, clicking the button takes you to strange places.
Looked to me most often to the beginning of an If statement that is outside of the inner one then gets stuck there.

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2181
  • Karma: +37/-3
    • View Profile
    • HippoEDIT
Re: How did the Go button supposed to work?
« Reply #3 on: March 23, 2009, 10:59:15 am »
Hi Arthur,

Maybe I was not clear in my answer.
Not a function, but current label displayed in description field (in you case it is DispatchVars that is a function).
The labels described in basic_spec.xml and can be also if|for scopes etc.

If still not clear, than place here please example coding and cursor position in it.

Best regards,
Alex.

 

Related Topics

  Subject / Started by Replies Last post
12 Replies
4482 Views
Last post April 25, 2009, 03:23:48 pm
by allen
2 Replies
1683 Views
Last post June 29, 2009, 04:29:44 am
by Arthur
1 Replies
1302 Views
Last post February 29, 2012, 10:02:02 pm
by alex
6 Replies
2161 Views
Last post September 18, 2014, 02:24:45 pm
by Andreas
3 Replies
1102 Views
Last post May 19, 2015, 05:55:10 pm
by alex