4coder » Forums » jump to function bug
simonWasHere
9 posts
#12146 jump to function bug
2 months, 1 week ago

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.
Mr4thDimention
Allen Webster
264 posts
2 projects

Heyo

#12156 jump to function bug
2 months, 1 week ago

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.
Mr4thDimention
Allen Webster
264 posts
2 projects

Heyo

#12211 jump to function bug
2 months ago

See the end of this thread for an update on this bug:

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