[TxMt] How to echo the character count of a captured tabstop in a snippet?

Allan Odgaard throw-away-1 at macromates.com
Fri Aug 24 16:47:41 UTC 2007


On Aug 22, 2007, at 11:24 AM, Derek Jones wrote:

> I'm looking for a way for a snippet to perform a transformation on  
> a tab stop, but to output the number characters, not to modify the  
> captured tab stop.  Can anyone think of how this would be done?

This would only be possible by manually matching strings of length 1  
OR length 2 OR length 3 … and then do conditional replacements.






More information about the textmate mailing list