[TxMt] Re: LaTeX Bundle: Wrap in left...right

Ruben Debeerst ruben.debeerst at gmx.de
Tue Oct 2 07:12:18 UTC 2007


On 2007-09-19 19:25:58 +0200, Alain Matthes 
<alain.matthes at mac.com> said:

> but I will prefer
> 
> "{something}" into "\left\{something\right\}" but I don't know
>   how to make  a conditional insertion

Yeah, I don't know how to do conditionals in snippets either. But you 
could make another snippet with
${TM_SELECTED_TEXT/{(.*)}/\\left\\{$1\\right\\}/}


Regards,
Ruben





More information about the textmate mailing list