[TxMt] modifying Wrap Selection as Link

Allan Odgaard throw-away-1 at macromates.com
Sun Jun 11 10:22:08 UTC 2006


On 10/6/2006, at 5:52, Joe Maller wrote:

> When invoked without a selection, the HTML Wrap Selection as Link  
> snippet doesn't select the placeholder display text [...] is this a  
> worthwhile change

No, wrapping implies wrapping something.

> 2. Is there a way to make the second tab-stop conditional on  
> whether any text was selected?

Only by changing the snippet to a command which then has Insert as  
Snippet as output option. This command could then test if there is a  
selection.




More information about the textmate mailing list