Insolence Posted February 12, 2005 Posted February 12, 2005 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.
Valik Posted February 12, 2005 Posted February 12, 2005 SciTE has an option to fold on load, I believe. It'll fold everything on load.
Insolence Posted February 12, 2005 Author Posted February 12, 2005 (edited) Suppose that'll do. Does it also fold While statements, etc? EDIT: Yeah, it does. Thanks. Edited February 12, 2005 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.
MHz Posted February 13, 2005 Posted February 13, 2005 This is what I use in User Options.fold.comment=0fold.on.open=1## 0 Allows for blank lines.#~ fold.compact=0I 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now