Author Topic: Code collapse hides name of var on typedef. Any fix?  (Read 212 times)

Offline guido

  • Single posting newcomer
  • *
  • Posts: 4
Code collapse hides name of var on typedef. Any fix?
« 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.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11279
    • Travis build status
Re: Code collapse hides name of var on typedef. Any fix?
« Reply #1 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.
(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 guido

  • Single posting newcomer
  • *
  • Posts: 4
Re: Code collapse hides name of var on typedef. Any fix?
« Reply #2 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.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11279
    • Travis build status
Re: Code collapse hides name of var on typedef. Any fix?
« Reply #3 on: December 07, 2018, 03:50:59 pm »
scite, geany, codelite are based on scintilla, probably there are others.
(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!]