SRL Archive - Help

Simba CodeFolding?


Brandon

2012-11-18 14:41:30

Does Simba support code folding/regions?

Example, when you declare a function, that function's body can be folded by pressing the plus sign right beside it's declaration.

I want to know if you can have that without doing:


Procedure SomeRegionName; Begin End;

^The above will basically create a Region that you can click within the Simba Navigation/Function bar on the side.

If not, it should have this feature :l Anyone know if it already has this? Some secret option?

Le Jingle

2012-11-18 14:44:53

Only begin ends, nested begin ends, //code comments, and {comments} can be folded.

Afaik

Olly

2012-11-18 15:13:23

OGL ID's? :P

Brandon

2012-11-18 17:36:17

^Yes.. Re-wrote the whole GL-include for EOC.. Lape's XOR doesn't work though but that's ok for now.

https://github.com/Brandon-T/SRL-GLHook

Added Actionbar functions, Combat Tab functions, Magic book functions, etc..

From: Le Jingle
Only begin ends, nested begin ends, //code comments, and {comments} can be folded.

Afaik



Hmm.. +1 for this. Didn't think that comments could fold. At the same time though, they don't provide regional folding. In other words, they don't show up in the Navigation bar to the left like functions do; you can't jump to them ={

Thanks anyway.