Jump to content
Sign in to follow this  
Insolence

Scite question

Recommended Posts

When using regions, how do I get it to save which are closed?

I have 300+ line scripts that are getting very cluttered. I put a ton of regions and close them but they don't save, they're all open by default.

If you don't know what regions are...

#region Script section #1
StartScript()
#endregion

Basically it's your own defined section of a code, with those little collapsable +/-'s on the left side of the screen.


"I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar.

Share this post


Link to post
Share on other sites

Suppose that'll do.

Does it also fold While statements, etc?

EDIT: Yeah, it does. Thanks.

Edited by Insolence

"I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar.

Share this post


Link to post
Share on other sites

This is what I use in User Options.

fold.comment=0

fold.on.open=1

## 0 Allows for blank lines.

#~ fold.compact=0

I do not fold comments. Makes reading standard udf's easier.

Script is folded on open.

For extra compact folding, you can also do blank lines.

:lmao:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...