Jump to content

Recommended Posts

Posted

Just as the title says, I've seen #region appear in some scripts but it isn't mentioned in the help files anywhere. What does it do? What is it for? Why is it not mentioned?

Just curious...

B-)

Posted

...#region ... isn't mentioned in the help files anywhere...

Check the SciTE help file:

We also added a special folding keyword #region-#endregion. Any text behind these keywords on the line are considered comments.

[size="1"][font="Arial"].[u].[/u][/font][/size]

Posted

Just as the title says, I've seen #region appear in some scripts but it isn't mentioned in the help files anywhere. What does it do? What is it for? Why is it not mentioned?

Just curious...

B-)

#Region mySectionOfCode

...

...

#EndRegion

These tags help you when coding with SciTe. You can fold the code that is outside of functions, so you don't have to scroll up and down through your editor so much so. If you aren't using SciTe, this element probably won't help you.

Das Häschen benutzt Radar

Posted

#Region mySectionOfCode

...

...

#EndRegion

These tags help you when coding with SciTe. You can fold the code that is outside of functions, so you don't have to scroll up and down through your editor so much so. If you aren't using SciTe, this element probably won't help you.

Cool! :D

My Grandfather always said "Learn something new every day." I just learned something new, and usefull too.

I haven't even gone to work yet, and I'm done for the day! :D

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Posted

Cool, I had kinda figured that was what it did, but I didn't know if my using it that way would cause unexpected issues. Great! I don't feel so dumb now... B-) And, er yeah... the Scite help files... I didn't even suspect it was a Scite only thing, only an AutoIt thing... d'oh!

Thanks all!

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
×
×
  • Create New...