Help with Code Folding

Help with Code Folding

I just noticed that Class Code Completion Ctrl+Shift+C expands all the folded code sections. Is there a way to prevent this behavior?

If I fold a section of code I'd like it to stay folder until I open it back up.

Comments

  1. I cannot reproduce this behavior here in my Delphi 10.2.3. Which version do you use? Which 3rd party plugins or components are installed? Can you reproduce this in a fresh Delphi installation?

    ReplyDelete
  2. +Uwe 10.2.3 Enterprise. Kanopka VCL, Radiant Shapes, ElebateDB.

    Please try the following:

    1. Create a simple class with at least one method.
    2. Fold the method
    3. Add a new method to the class and use Ctrl+Shift+C on this new method.

    Did it unfold the previous method?

    ReplyDelete
  3. When I do exactly what you describe in a program, I get an expansion of the first method. After that I cannot repeat it.
    If I do that in a unit, I don't get it at all.

    ReplyDelete

Post a Comment