Pages: 1
Author Topic: Collapsible Script  (49,283 Views)
Offline (Unknown gender) AsherOS

Member
Joined: Jul 2013
Posts: 19
View profile
Posted on: August 13, 2013, 11:14:10 PM
One thing that is not found in enough IDEs is collapsible text/script, yet it is hands down the greatest tool to simplify and organize complicated code. For someone like me, who is a beginner at programming, it would help me understand code much faster and I know that pros would love this because of how clean it would make the working environment.



Cheers,
Asher
Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
Reply #1 Posted on: August 13, 2013, 11:45:06 PM
Haha, yes Asher, I myself would like the feature as well, I am too busy with making the basics work for now though like adding GMX support. But yes we need some more advanced stuff like that in the script editor.
Offline (Unknown gender) AsherOS

Member
Joined: Jul 2013
Posts: 19
View profile
Reply #2 Posted on: August 14, 2013, 12:11:51 AM
lol, no worries, just throwing it out there   :D
Offline (Unknown gender) DaSpirit

Member
Joined: Apr 2013
Posts: 124
View profile
Reply #3 Posted on: August 14, 2013, 02:12:19 AM
Scintilla based editors have the following for C++/C lexers:
//{ This is a region!
if (blah blah...)
//}


If this feature does get added, I think this is the best way to add it to GML (or EDL) without losing compatibility.
Offline (Unknown gender) TheExDeus

Developer
Joined: Apr 2008
Posts: 1,860
View profile
Reply #4 Posted on: August 14, 2013, 06:43:20 AM
I don't know about some #region or //{, but I think regular block folding would be good. Like all {} could be folded. Usually only functions are foldable (like in C::B for example), but ENIGMA doesn't have functions per se.
Pages: 1