BASIC

Author Topic: New user.. question about IDE and the jumpbar  (Read 994 times)

Offline Falstaff

  • Mr. Polyvector
  • ***
  • Posts: 148
    • View Profile
Hello everyone, I'm new to GLBasic and am working on my first game with it. I've been poking around with the IDE and am generally getting a feel for it.

One thing I wonder though is.. how come if I click on a sub/function on the jumpbar area in the right, it only sometimes takes me where I want to go? For example, right now I'm clicking on 1 function and it takes me there fine.. but when I click the one underneath, it only drops me a few lines lower. I end up still in the first function! It ends up feeling weird trying to jump around in my code.

Anyone else see this?

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10723
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: New user.. question about IDE and the jumpbar
« Reply #1 on: 2011-Aug-21 »
Its a bug. Reopen the project :(
Ive no idea yet when it happens.

Offline matchy

  • Prof. Inline
  • *****
  • Posts: 1543
    • View Profile
Re: New user.. question about IDE and the jumpbar
« Reply #2 on: 2011-Aug-21 »
Hopefully we can see this high priority bug put in a glass tank in the next version.

The current quickest way I adapt to this is to save and change tabs:

- have another document open (2 tabs)
- press ctrl-s (to save the current document)
- click the other tab, then back to the current
- now you can click on the function list to jump to the correct line location

« Last Edit: 2011-Aug-21 by matchy »

Offline Falstaff

  • Mr. Polyvector
  • ***
  • Posts: 148
    • View Profile
Re: New user.. question about IDE and the jumpbar
« Reply #3 on: 2011-Aug-21 »
Oh ok, my best guess is it has something to do with function/sub code-folding. Thanks for the quick response K.H.!

matchy thanks for the tip! I actually just started to look at re-factoring my animation code to a separate source file, so I'll be able to do as you say immediately :)