[SVN] BUG: Output Text not inserted at caret when input is Scope

Allan Odgaard throw-away-2 at macromates.com
Mon Feb 11 01:30:38 UTC 2008

On 10 Feb 2008, at 00:23, Alain O'Dea wrote:

> [...]
> It looks like the Objective-C completion drops in a snippet with no  
> placeholders, but with a cursor position. This will work for my  
> needs. I just need to rebuild the scope and inject the chosen  
> completion and a $0 to position the caret.

Just for the records, use ${0}.

E.g. inserting $0 in “this ‸1 fails” results in “this $01  

More information about the textmate-dev mailing list