Author Topic: GotoLine folding support  (Read 3451 times)

Offline XayC

  • Multiple posting newcomer
  • *
  • Posts: 94
GotoLine folding support
« 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 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.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: GotoLine folding support
« Reply #1 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.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: GotoLine folding support
« Reply #2 on: October 06, 2008, 05:50:29 pm »
If no error comes up, I will commit it later.

Applied in svn r5242.