[TextMate] Snippets, and Selected Text

timothy martens timfm at hawaii.rr.com
Thu Oct 7 07:44:59 UTC 2004


On Oct 6, 2004, at 8:52 AM, Noel D.Jackson wrote:

> I've already submitted this to "the boys", however I figured i'd bring 
> it up here.
>
> For a snippet, there should be a variable say "$s" that references the 
> text selected when the snippet was acted on, so that say, if I select 
> noel at noeljackson.com and click on my href snippet, it will replace $s 
> with noel at noeljackson.com, allowing easy creation of headers etc in 
> HTML without going back, or creating macros.

Agreed, a selected text variable is a must. I hope we can get this high 
on the version 1.2 list please




More information about the textmate mailing list