[TxMt] access to symbol via TM_ variable?

Allan Odgaard throw-away-1 at macromates.com
Thu May 17 23:33:39 UTC 2007


On 17. May 2007, at 17:09, Jay Soffian wrote:

> On May 17, 2007, at 7:41 AM, Allan Odgaard wrote:
>> So you would need more than just the symbol, thus you would need  
>> to grep the document (from stdin) anyway?
> Well, I was thinking that TM_CURRENT_SYMBOL could be either a .  
> or / separated path to the current symbol, where TextMate could use  
> indentation in the current symbol to determine its nesting.  
> Obviously for this to work properly requires a sane  
> symbolTransformation. Perhaps even a separate transformation list  
> is appropriate to allow bundle designers control over what  
> TM_CURRENT_SYMBOL is set to.

Yeah, this won’t really work ;)

But there will be something else (in 2.0) that could be used to  
gather this bread crumb trail for use in commands.




More information about the textmate mailing list