Code::Blocks

User forums => Help => Topic started by: guido on December 07, 2018, 01:35:03 pm

Title: Code collapse hides name of var on typedef. Any fix?
Post by: guido on December 07, 2018, 01:35:03 pm
When I collapse code around a multi-line typedef, it only shows the typedef, so it makes the code less readable.

Is there some place to customize this behavior? I only want the first and last lines, so I get the var name.
Title: Re: Code collapse hides name of var on typedef. Any fix?
Post by: oBFusCATed on December 07, 2018, 02:13:15 pm
We use scintilla for our editor component.
Try to reproduce this in scite or another editor which uses this same component.
If it happens report the problem to scintilla developers.
Title: Re: Code collapse hides name of var on typedef. Any fix?
Post by: guido on December 07, 2018, 02:54:34 pm
Can you suggest such an editor? I haven't been paying attention to what code folding algorithms different editors use. I'm on Debian.
Title: Re: Code collapse hides name of var on typedef. Any fix?
Post by: oBFusCATed on December 07, 2018, 03:50:59 pm
scite, geany, codelite are based on scintilla, probably there are others.