Jump to content
Sign in to follow this  

#Region / #EndRegion

Recommended Posts


Newbie question.

What are the #Region and #EndRegion statements?

I cannot find this in any of the documentation.

They seem like a type of comment but I'm not sure. Thanks.

Share this post

Link to post
Share on other sites

It's a feature of SciTE, you can make little area's of scripts comments:

HotKeySet("{END}", "DoIt" )
#region " This is where I loop "
While 1
Func DoIt()

Paste it into SciTE and you'll be able to expand/collapse that section.

"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

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.