[TxMt] Recreating bbinclude in TextMate?

James Edward Gray II james at grayproductions.net
Fri Aug 4 17:55:35 UTC 2006


On Aug 4, 2006, at 10:34 AM, Allan Odgaard wrote:

> On 3/8/2006, at 15:34, James Edward Gray II wrote:
>
>>> It's in HTML bundle in the macromates.com subversion repository.
>> Would you be open the the idea of pulling the comment character  
>> from TM's environment and moving this feature to the Source  
>> bundle?  Seems like it could be useful in just about any language  
>> that way.
>
> One problem will be with an “Update All Files in Project” as the  
> comment characters are only available for the current scope.
>
> In practice it could also be a problem with mixed documents, e.g.  
> if you fire the “Update” inside some embedded CSS or JavaScript,  
> you will get the wrong characters.

I don't think these will be much on an issue.  We can just scan for  
lines with tminclude somewhere in them, being liberal about the  
comments we accept before and after that.

James Edward Gray II




More information about the textmate mailing list