[SVN] r6405

Allan Odgaard throw-away-1 at macromates.com
Sun Feb 11 14:22:47 UTC 2007


On 27. Dec 2006, at 20:17, Thomas Aylott wrote:

> added test_snippetize_bracket_escaping and fixed how text is  
> escaped in snippets. Sometimes you need to escape } other times you  
> can't escape }.
> Hey Allan, you might want to make that a bit more consistent ;)

You need to escape } when it has a meaning.

That is, inside ${…} you will need to escape it, but not outside.

I am not really a fan myself of this ‘lazy escaping’, but since \ is  
used so much in programming languages (and thus snippets) I went  
ahead and did it anyway…




More information about the textmate-dev mailing list