User forums > Using Code::Blocks
New folding features...
kkez:
--- Quote ---This is obviously possible... but becomes a bit tricky when Scintilla doesn't want to play along... Usually fold ALL means to fold ALL...
--- End quote ---
Well, it worked before, why shouldn't it work now? I'm talking about the feature where only the top blocks are folded. I'd be happy with that too. That is, an option to choose between topblocks and topblocks/subblocks fold.
--- Quote ---PS. The patch was updated recenlty to ensure that unfolding blocks/goto's work correctly...
--- End quote ---
I saw the updated patch. Why did you do all those changes to spaces? It makes the patch really big and without reason. And they were fine before, imho. :) The wiki coding style article says:
--- Quote ---Code indentation should be 4 spaces.
--- End quote ---
PS: if you can point me to the file and lines were the changes have been made, i can try to make a patch to fulfill my needs...
joubertdj:
:oops: Yeah, I got so carried away... then I used AStyle plugin to ensure that I don't screw up too much... :)
The part that got changed for top level sub level is in DoFoldLine procedure... it is supposed to be commented...
joubertdj:
:D Patch uploaded to add support for the selection of Top-Level Sub-Level or both when doing a Fold All option.
Be aware that because I am using wxSmith, the changes to the xrc file is huge instead of the 6 components that I added it changed everything through SVN... sorry about that... still learning the wxSmith tool! Hope it helps!
Patch Nr: ??????
Ah #%^$%&* BerlioOS is giving me headaches again... file attached... will upload when I am able!
[EDIT] Patch Nr: #1810
[EDIT] http://developer.berlios.de/patch/?func=detailpatch&patch_id=1810&group_id=5358
[attachment deleted by admin]
kkez:
Let me try it. Thank you very much.
kkez:
Works like a charm :) :) :) Thanks again.
Berlios has been down for ages... i submitted your patch for the "recursive unfold on error" (thanks again for that too :) ) without all those space changes, but we will never see it again, it's lost in the 403 forbidden land. So i attached it to this post :)
Hey, maybe this is a sign to make CB go back on SourceForge...
[attachment deleted by admin]
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version