[TxMt] Escaping a selection

Scott Haneda talklists at newgeo.com
Thu Mar 26 11:38:09 UTC 2009


How can I escape certain chars in a selection in TM?  If this is not  
built in, can someone help me make a macro or equivalent to do so?

Example:
echo "<a href="untitled.html" id="name" class="name"  
target="_self">test</a>";

I would select the entire line, it would be smart enough to know the  
language from the string.

echo "<a href=\"untitled.html\" id=\"name\" class=\"name\" target= 
\"_self\">test</a>";

I have a feeling there is probably something built in that can help  
me, but I am just not finding it.
--
Scott * If you contact me off list replace talklists@ with scott@ *




More information about the textmate mailing list