Author Topic: Folding remember path  (Read 5253 times)

Offline marazm

  • Single posting newcomer
  • *
  • Posts: 2
Folding remember path
« on: January 06, 2012, 02:53:37 pm »
Small path that allows to save folding state in layout-file.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12006
    • Travis build status
Re: Folding remember path
« Reply #1 on: January 06, 2012, 02:57:09 pm »
Can you give better explanation what this patch does, exactly?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline marazm

  • Single posting newcomer
  • *
  • Posts: 2
Re: Folding remember path
« Reply #2 on: January 06, 2012, 03:10:17 pm »
When you hide some blocks of code and reopen file C::B will show it in unfolded state. This patch will make C::B to remember all collapsed blocks and hide them when you open the file.
http://forums.codeblocks.org/index.php?topic=10247.0

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5226
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Folding remember patch
« Reply #3 on: January 06, 2012, 03:18:03 pm »
Small path that allows to save folding state in layout-file.
There is a typo in your thread title.

Also, this is a cool feature! :)
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline wf

  • Single posting newcomer
  • *
  • Posts: 2
Re: Folding remember path
« Reply #4 on: January 07, 2012, 07:12:43 am »
nice, i was waiting for this feature few years ;)
^_^

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12006
    • Travis build status
Re: Folding remember path
« Reply #5 on: January 09, 2012, 03:08:21 pm »
marazm:
Can I ask you to submit your patch to the patches section of the codeblocks project's site on berlios.de?
This way your patch won't be forgotten.
Here is the link for the site: http://developer.berlios.de/patch/?group_id=5358
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]