Sign in to follow this  
Followers 0
CodyBarrett

what are these called?

9 posts in this topic

but i would like to know what the term is called and how to make them *besides the FUNC* and *while* actions

Share this post


Link to post
Share on other sites



Share this post


Link to post
Share on other sites

... They don't even need a name.

You can "make" them using #region. Example:

#region - This is my region

;bla bla

;bla bla

#endregion

A [+] will appear by #region and you'll be able to hide everthing between #region and #endregion.

Share this post


Link to post
Share on other sites

YES the expand and colapse :\ lol thanks now how do i make those by them selves... aka so i can make my scripts easyer to work in

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

they are automatically done in SCITE.

if you start something make sure you end it correctly eg......

(for) must have a (next)...

(while) must have (wend)

(if) can have (endif) or (else) or (elseif) but always end with (endif)

func() must end with endfunc

ECT......

Edited by Aceguy

Share this post


Link to post
Share on other sites

alright.... so even if i want it to have NO meaning OTHER than to shorten my script view... so i dont have to scroll down since my wheel on my mouse is broken ($50 mouse x'O) anyway yeah is #region-#endregion what i want?

Share this post


Link to post
Share on other sites

thank you man that really helped alot *NOT using sarcasm* i mean it and yeah i know im a newby here :mellow: i dont want to be so im trying to learn ASAP

Share this post


Link to post
Share on other sites

thank you man that really helped alot *NOT using sarcasm* i mean it and yeah i know im a newby here :( i dont want to be so im trying to learn ASAP

Chill dude, these Code folding Box tree's in addition to #REGION/ENDREGION directives really help to break up large projects,

so you don't have to put up with a broken mouse wheel  :)

Not sure about Scite but Notepad++ has shortcut keys to fold/unfold all, which allows you to selectivley unfold the necessary pieces of

code you are working on saving editor space and scrolling (I find particularly when referencing large numbers of variables).

I also Highly recommend using the Bookmark features of your code editor if you are working on multiple pieces of the same script at the same time... :mellow:

Share this post


Link to post
Share on other sites
:mellow: lol thanks problem solved :(

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