[TxMt] pbs with LaTeX labels
Allan Odgaard
throw-away-1 at macromates.com
Tue Jun 5 07:34:43 UTC 2007
On 2. Jun 2007, at 13:39, Édouard Gilbert wrote:
> Yes, that was it. Nearly perfect for me. Just got to remove the
> uppercase letter. Would that be something like :
>
> ${1/\\\w+\{(.*?)\}|\\(.)|(\w+)|(\W+)/(?4:_:\L$1\L$2\L$3)/g}
>
> ?
Yes, though you only need one \L (it lowercases until it sees a \E).
> Can I suggest to think about including this in every section/
> subsection/paragraph snippet of the LaTeX bundle? Well, if it's
> behaviour match other users expectation, of course.
Seeing how it already tries to do a smart transform, I don’t see why
not go all the way.
Though I’ll wait to see if Haris has any comments.
More information about the textmate
mailing list