Sign in to follow this  
Followers 0
JGBJGB

#Region / #EndRegion

2 posts in this topic

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
    Sleep(1)
WEnd
#endregion
Func DoIt()
    Send("{RIGHT}")
EndFunc

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  
Followers 0