Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there an easy way to create a collapsible block of code in SciTE? I know it will create a block when using if/while (etc.) statements, and comment blocks, but what if I just want a block of code that will be active, to be able to collapse it?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

I would recommend the #region and #endregion tags if you wish to do that. This will allow you to collapse the regions as necessary.

Of course this also depends on what language you are programming in; but, for the most part, that is the tag I use for most things in Scite. You can expand/collapse them, just like any other type of collapsible tag:

region tags in scite

share|improve this answer
    
Thanks. Region works fine. –  Mechaflash Feb 1 '12 at 21:06

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.