On 10/09/2005, at 8.40, Sune Foldager wrote:
Make a new snippet like this:
<ul> ${TM_SELECTED_TEXT/.+/ <li>$0<\/li>/g}</ul> That should do it :-).
By the way, this only works in the TextMate snapshot starting from revision 369. You can grab the (currently) latest snapshot here: http://macromates.com/textmate/build/TextMate_r369.zip
-- Sune.