[TxMt] folding behaves very irregularly

Bruno Bronosky BrunosJunk at Bronosky.com
Thu Feb 3 22:04:30 UTC 2005


I have not found any documentation on how folding works.  From what I 
can tell it is a combination of character pairs and indentation.  I'm 
have great stress trying to make sense of a PHP class which I did not 
write.  I cannot make sense of it in BBEdit which I have always used 
for code. (I stumbled on TextMate today.)  TM would help greatly with 
it's folding feature, if I could properly fold functions.  However the 
class author used inconsistant indentation (for which he should be 
tortured) which is causing folds to begin with the { of a function 
declaration and the } of an if clause.  I have checked using BBEdit's 
Text>Balance feature (which is very cool and should be added to TM) and 
the {'s and }'s are properly balanced.  But, since the indentation 
sucks, I can't fold.

Please correct the folding behavior.

Thank you,

--==<< R i c h a r d B r o n o s k y >>==--

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 951 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20050203/b5b9ab88/attachment.bin>


More information about the textmate mailing list