[TxMt] Re: Spaces breaking snippets [was: Esc-completion breaks out of snippet]

Sune Foldager cryo at cyanite.org
Mon Sep 12 22:33:25 UTC 2005


On 12/09/2005, at 23.50, Benjamin Jackson wrote:

> Just checked this out a little further and it turns out it's not  
> esc-completion that's breaking out of the snippet, but rather  
> spaces... here's my snippet:
>
> private function($1) {
>     $2
> }$0
>
> [...] But this breaks the snippet:
>
> private function(myArg, anotherArg) {
>     // some more code
> }

How do you mean break? I just tried it, exact duplicate of your  
snippet and input, and it works fine tabbing me from argument  
position to body to after the closing bracket.

-- Sune.




More information about the textmate mailing list