[TxMt] LaTeX Bundle: Wrap in left...right
Alain Matthes
alain.matthes at mac.com
Wed Sep 19 17:25:58 UTC 2007
Le 19 sept. 07 à 18:22, Ruben Debeerst a écrit :
> ${TM_SELECTED_TEXT/(.*)(\\}|\)|\])/\\left$1\\right$2/}
yes it's fine
"(something)" into "\left(something\right)" fine
"[something]" into "\left[something\right]" fine
but I will prefer
"{something}" into "\left\{something\right\}" but I don't know
how to make a conditional insertion
(there is a example in the doc but not very clear)
Is it possible to make this ? it is better because we can
select exactly {something} with "shift cmd B" and not \{.....\}
Regards
Alain
More information about the textmate
mailing list