Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: XayC on September 29, 2008, 05:07:41 pm

Title: GotoLine folding support
Post by: XayC on September 29, 2008, 05:07:41 pm
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 (https://developer.berlios.de/bugs/?func=detailbug&bug_id=10775&group_id=5358) 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 (https://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=2570&group_id=5358). It's quite a simple and small change so I hope it can be reviewed and applied soon. Thanks

Regards, XayC.
Title: Re: GotoLine folding support
Post by: Jenna on September 29, 2008, 07:24:55 pm
Thanks for the patch !!  :D

I just applied the patch to my working copy and it seems to work fine.

If no error comes up, I will commit it later.
Title: Re: GotoLine folding support
Post by: Jenna on October 06, 2008, 05:50:29 pm
If no error comes up, I will commit it later.

Applied in svn r5242.