void function()
{ //...
I do want (and love) the black fold line. It's the fastest way to see if a block is folded or not.
By seeing your code, you might get less black lines if you put a newline between the function's last parenthesis and the curly bracket.Codevoid function()
{ //...
Apart from my opinion, this is a feature request you should ask to scintilla's team. I kindly request you to know things before asking.
It's the fastest way to see if a block is folded or not.
void metod1()
{..}
int data()
{..}
I felt so... I absolutely donot know what scintella is, nor do I want to! I need to resume my work.. so I hope someone undertakes my request! :(
I felt so... I absolutely donot know what scintella is, nor do I want to! I need to resume my work.. so I hope someone undertakes my request! :(
Personally, i only look at the minus/plus sign; it is enough. The black lines are an annoyance; in fact, they are one of the reasons why i use another IDE (2 in fact) in parallel with CB, because they have not these lines.
1) Do you really like the DARK BLACK lines after folded blocks, Aren't they distracting?To sum up, AFAIK, it's a problem in Scintilla. There's no such easily accessible function which can allow us to change it easily. So if it really bothers you, do the following.
2) Can really focus on what you do?
3) Doesn't it make the interface cluttery?
Personally, i only look at the minus/plus sign; it is enough. The black lines are an annoyance; in fact, they are one of the reasons why i use another IDE (2 in fact) in parallel with CB, because they have not these lines.
Most commercial editors (MSVC, Borland Editors) do not use Scintilla and it could be one of the reasons that you don't see them.
The more there are lines on a screen, the more supplementary work for the brain. That means lesser time for the brain to think about everything else.
PRectangle rcFoldLine = rcLine;
rcFoldLine.top = rcFoldLine.bottom - 1;
rcFoldLine.right = xStart + 4;
surface->FillRectangle(rcFoldLine, vs.styles[STYLE_DEFAULT].fore.allocated);
rcFoldLine.left = rcFoldLine.right + 4;
rcFoldLine.right += 8;
surface->FillRectangle(rcFoldLine, vs.styles[STYLE_DEFAULT].fore.allocated);
rcFoldLine.left = rcFoldLine.right + 4;
rcFoldLine.right += 8;
surface->FillRectangle(rcFoldLine, vs.styles[STYLE_DEFAULT].fore.allocated);
I think, the symbols browser is a much better solution to have an overview.You're right; but the folding without black lines is also nice.
it makes the folding in Code::Blocks looks like in this screenshot (http://img139.imageshack.us/img139/6667/cbfoldzu9.jpg).Well done!
You can download the patched wxcintilla.dll here (http://fileho.com/download/64b40f279334/wxscintilla.7z.html) and extract it into your Code::Blocks folder. I've tested it with the latest nightly.
You can download the patched wxcintilla.dll here (http://fileho.com/download/64b40f279334/wxscintilla.7z.html) and extract it into your Code::Blocks folder. I've tested it with the latest nightly.
Hello,
personally I don't know, what folding is good for in an IDE like Code::Blocks. I think, the symbols browser is a much better solution to have an overview. If you compile Code::Blocks yourself, it isn't hard to patch Scintilla yourself. The location to look at, is the block starting at line 2915 in src/sdk/wxscintilla/src/scintilla/src/Editor.cxx. If you don't want to do it yourself, I've applied a small patch, so now the block looks like this:Codeand it makes the folding in Code::Blocks looks like in this screenshot (http://img139.imageshack.us/img139/6667/cbfoldzu9.jpg).PRectangle rcFoldLine = rcLine;
rcFoldLine.top = rcFoldLine.bottom - 1;
rcFoldLine.right = xStart + 4;
surface->FillRectangle(rcFoldLine, vs.styles[STYLE_DEFAULT].fore.allocated);
rcFoldLine.left = rcFoldLine.right + 4;
rcFoldLine.right += 8;
surface->FillRectangle(rcFoldLine, vs.styles[STYLE_DEFAULT].fore.allocated);
rcFoldLine.left = rcFoldLine.right + 4;
rcFoldLine.right += 8;
surface->FillRectangle(rcFoldLine, vs.styles[STYLE_DEFAULT].fore.allocated);
You can download the patched wxcintilla.dll here (http://fileho.com/download/64b40f279334/wxscintilla.7z.html) and extract it into your Code::Blocks folder. I've tested it with the latest nightly.
I have install CB using the last debian package for kubuntu, but how can I apply this patch????You cannot. If you want to apply this patch, you must compile Code::Blocks yourself from sources (and apply the patch to the respective part of the sources before that).
yes, but if I have to compile CB how can I do that was my next question, can you help me with that??//-- Wiki Index
Surely they don't use Scintilla; but the main point is that these companies carefully study everything. If they all choose NOT to put black line, it is NOT because their devs or someone else didn't like these lines.
As as pointed in my last post, they study scientifically how the brains react and take into account the presence or not of these lines. They concluded that the lines add supplementary work to the brain. The more there are lines on a screen, the more supplementary work for the brain. That means lesser time for the brain to think about everything else.
I've reuploaded it here (http://www.savefile.com/files/770796).
I've reuploaded it here (http://www.savefile.com/files/770796).
Thanks... Also Reenables support for the new dll...
-Another Happy CodeBlocks user! :lol:
Try using the folded line indicators as your guides (also try changing indicator style, it may help you another style), thats what I do and I don't get lost in long code.