code folding for PHP

Post a reply

:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Topic review

Expand view Topic review: code folding for PHP

Re: code folding for PHP

Post by robert » Fri May 25, 2012 12:27 pm

The tricky thing about folding PHP code is that they could spit out opening/closing tags from PHP code, which would prevent the fold parser from identifying matching tags. I'm thinking this may be a rare case though (at least, rare to spit out only an opening or closing tag; I can see PHP generating both the opening and closing tag somewhat frequently, but that wouldn't be a problem). So if folks are willing to live with that limitation, there's no reason folding couldn't be added to PHP.

A donation can be found on RText's SourceForge page.

code folding for PHP

Post by broozer » Fri May 25, 2012 4:33 am

I just downloaded the latest version (2.0.3) and noticed that code folding was introduced with version 2.0.0. Since most of my coding is in PHP , I was wondering whether this feature will be introduced for PHP files too (currently code folding is greyed out) ?

By the way : thanks again for this tool.Is there a 'Donate' button somewhere ...