[TxMt] Mass editing the bundle scope

Nate Cavanaugh nate at shift22.com
Tue Jan 8 22:18:39 UTC 2008


So just to confirm, that's the only option? There's no way to mass edit a
bundle's scope and have it stick? 


Thomas Aylott - subtleGradient wrote:
> 
> On Jan 8, 2008, at 2:19 PM, Nate Cavanaugh wrote:
> 
>> Ah, very true, so I guess I misspoke a bit on exactly what I needed.
>> That works great for pure JS files.
>>
>> I suppose what I need is for the language scope to be the same for  
>> embedded
>> JS as well, not just solely JS files.
>>
>> However, changing the language of doesn't seem to apply on a  
>> language by
>> language basis, hence my desire to edit the bundle.
>>
>> But that's why I'm asking you guys :)
>>
>> Is there a way to accomplish this for embedded JS as well as JS files?
> 
> The current version of TextMate 1.5.x simply cannot technically handle  
> too many levels of embedded languages.
> 
> jQuery doesn't know how it is embedded into something else. Every  
> language that embeds Javascript would need to be changed to embed  
> jQuery instead of javascript.
> 
> Many library syntaxes like jQuery aren't written to easily allow  
> themselves to be embedded inside another language.
> I'm currently working on revamping how all the Javascript syntaxes  
> embed eachother and inherit and whatnot.
> 
> Try making a copy of the main syntax that is embedding javascript (EG:  
> HTML) and then change it to embed jQuery instead.
> It probably will make a terrible mess and won't work at first, but you  
> might just get it working eventually.
> I have quite a number of modified HTML syntaxes for embedding  
> different things in different ways.
> 
> 
> —Thomas Aylott – subtleGradient—
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
> 
> 

-- 
View this message in context: http://www.nabble.com/Mass-editing-the-bundle-scope-tp14695883p14700252.html
Sent from the textmate users mailing list archive at Nabble.com.




More information about the textmate mailing list