[TextMate] Snippet, Command, Macro and Language Suggestions

Kjell Olsen kjell at station11.net
Thu Oct 7 19:30:28 UTC 2004


Justin - your (?) link making macro (control-shift-l) misbehaves I 
think:

If all there is only one word in your file it works fine - about 
(control-shift-l) makes <a href="about.html">about</a>, but when there 
is more then one word in the file your macro works on all the lines - 
turning -v

<html>
<head>
	<title>test page, what?</title>
	</head>
<body>
about
</body>

into -v

<a href="<html>.html"><html></a><a href=".html"></a>
<a href="<head>.html"><head></a><a href=".html"></a>
<a href="	<title>test page, what?</title>.html">	<title>test page, 
what?</title></a><a href=".html"></a>
<a href="	</head>.html">	</head></a><a href=".html"></a>
<a href="<body>.html"><body></a><a href=".html"></a>
<a href="about.html">about</a><a href=".html"></a>
<a href="</body>.html"></body></a>




More information about the textmate mailing list