With this patch most of the functions in Code::Blocks that use the GotoLine functionality will work correctly even if the destination line is folded.
This should fix this
bug and mainly (the true reason I wrote this patch) should fix the problem that CB will unfold all the folded functions that come before the one you searched. And the problem that you still get the editor view and caret placed to the wrong point (considering that many folds got expanded).
The patch has been posted
here. It's quite a simple and small change so I hope it can be reviewed and applied soon. Thanks
Regards, XayC.