User forums > Using Code::Blocks

Code Folding

(1/1)

Jimmio92:
Hello all,
I know Code::Blocks has code folding (wxScintilla I believe), but I was wondering if I can customize it so the start bracket doesn't show.

For example, my code resembles:
if(stuff)
{
    stuffs;
}
and I'd really love to not see an opening bracket going to seemingly no where.

Thanks in Advance,
Jimmi

ollydbg:
No, I think you can't do that. Maybe, change the code style approaches your desire.

--- Code: ---if(stuff){
    stuffs;
}

--- End code ---

At this time, you can save one line more.

Jimmio92:
Sorry, I'm not changing my coding style just to save a line. I'll just have to learn to deal with it I guess.

-Jimmi

MortenMacFly:

--- Quote from: Jimmio92 on July 31, 2009, 04:34:55 pm ---I'll just have to learn to deal with it I guess.

--- End quote ---
...just like several million other devs, too I guess. ;-)

ollydbg:

--- Quote from: Jimmio92 on July 31, 2009, 04:34:55 pm ---Sorry, I'm not changing my coding style just to save a line. I'll just have to learn to deal with it I guess.

-Jimmi

--- End quote ---

I have just tested in Notepad++ which also use Scintilla control. But it still let the "open brace { "  seen.

Navigation

[0] Message Index

Go to full version