Log in

View Full Version : Simba CodeFolding?



Brandon
11-18-2012, 07:41 PM
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
11-18-2012, 07:44 PM
Only begin ends, nested begin ends, //code comments, and {comments} can be folded.

Afaik

Olly
11-18-2012, 08:13 PM
OGL ID's? :P

Brandon
11-18-2012, 10:36 PM
^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..


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.