code folding for PHP

General discussion on RText.

Moderator: robert

code folding for PHP

Postby 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 ...
broozer
 
Posts: 15
Joined: Tue Oct 27, 2009 7:28 am

Re: code folding for PHP

Postby 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.
User avatar
robert
 
Posts: 794
Joined: Sat May 10, 2008 5:16 pm


Return to Open Discussion

Who is online

Users browsing this forum: No registered users and 0 guests

cron