[TxMt] Folding bug
Chris Messina
factoryjoe at factorycity.net
Wed Nov 24 23:24:38 UTC 2004
I just wanted to comment on the folding technique... I think it's
actually rather smart and enforces better coding, especially when
writing HTML. I didn't realize that folding was based on indentation
until I read about it on this list, and now I use it as an
quasi-debugging tool! :)
Chris
James Andrews wrote:
> Good point. I'm often commenting out chunks of code while developing,
> but I'd forgotten that it was an indenting issue (I'd assumed it was
> counting the no. of opens/closes as well as using indents).
>
> In future, I'll just indent my comments.
>
> Thanks for your help, Allan.
> James
>
> On 23 Nov 2004, at 05:06, Allan Odgaard wrote:
>
>> On Nov 21, 2004, at 1:50, James Andrews wrote:
>>
>>> I might be wrong, but I don't think this is a problem with the PHP
>>> bundle, as it is correctly identifying folds.
>>
>>
>> The problem is that currently it only looks at indent to figure out
>> nesting, and in your example the function and comment had same
>> indent, that's why it doesn't match them correctly.
>>
>> _______________________________________________
>> textmate mailing list
>> textmate at lists.macromates.com
>> http://lists.macromates.com/mailman/listinfo/textmate
>>
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/mailman/listinfo/textmate
--
Do the evolution. Get Firefox!
<http://spreadfirefox.com/community/?q=affiliates&id=5&t=4>
Quote of the moment: /Teeth never inflate when you inhale, cause that
would look really stupid./— Davezilla
More information about the textmate
mailing list