Menu

expandable collapsible sections

2008-02-21
2012-11-13
  • Nobody/Anonymous

    Hi All,
    Great program! two questions!

    There is one thing that im not sure if its possible.
    I know certain sections of code become collapsible/expandable ( with + - ) tree things...

    I also know that you can hidde sections of code.

    <h2>a)Is it possible to highlight a section of code and make it a collapsable section?</h2>

    (I am also aware that you can stream comments, to make them collapsible)

    My alternative at the moment is to hide sections of code, but when i restart the program they are shown again, so if a) is not possible:

    <h2>b) When hiding sections of code, can you make the program remember this when you next re-open that file?</h2>

    Kind Regards

    Adam Muncey
    adammuncey@hotcarmail.com (please remove car!)

     
    • manp

      manp - 2008-02-22

      That may depend on your programming language - C# (and .NET family?) use #region...#endregion (or similar) as a way to define collapsible areas that may contain multiple fields/properties/methods/etc or just a block of code within a single method/etc.  These are certainly persistent and are also recognised by Visual Studio [when you must use it rather than Notepad++ ;-) ].

       
MongoDB Logo MongoDB