New user.. question about IDE and the jumpbar

Previous topic - Next topic

Falstaff

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?

Kitty Hello

Its a bug. Reopen the project :(
Ive no idea yet when it happens.

matchy

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


Falstaff

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 :)