4coder»Forums
19 posts
jump to function bug
Using the latest build the jump to function doesn't seem to work correctly. I can reproduce the bug with these steps:

1) Press ctrl-shift-I to open the function list, then return to jump to a function.

2) Open a different code file with ctrl-o, press ctrl-shift-I to see the list of functions for the new file, and press return to jump to one of them.

3) Notice it jumps to the function that was in the same position in the list in the *first* file.
Allen Webster
476 posts / 6 projects
Heyo
jump to function bug
This sounds like a repeat of the bug in the sticky jump system that I haven't tracked down yet. If you have the custom code you can fix this for now by defining USE_OLD_STYLE_JUMPS at the top of 4coder_default_include.cpp.

I haven't been able to reproduce it yet, but I'll try this method soon. Also I'll try to make sure it's fixed in the next build.
Allen Webster
476 posts / 6 projects
Heyo
jump to function bug
See the end of this thread for an update on this bug:

https://4coder.handmade.network/f...ch_results_go_to_wrong_file#12210