[SVN] Revision 1501 (HTML)

Allan Odgaard allan at macromates.com
Thu Aug 11 04:29:17 UTC 2005


• replaced the old link-macro with something I think is of more general use.

It wraps the selection in <a href="...">«selection»</a> but makes the link be the content of the clipboard (if the clipboard doesn't contain linefeeds).

It inserts the text as a snippet with the link selected and a tab-stop past the end tag, so simply press tab if the link is as desired (otherwise fix it and then press tab).

The key equivalent for this command is cmd-shift-L (like the old macro).

Changed:
A   trunk/Bundles/HTML.tmbundle/Commands/Wrap selection as link.plist
D   trunk/Bundles/HTML.tmbundle/Macros/Link using selection.plist
U   trunk/Bundles/HTML.tmbundle/info.plist



More information about the textmate-dev mailing list