[TxMt] Re: Documentation for Word for Smarty

Christoffer Winterkvist oprah at noodlemantra.eu
Mon Nov 24 14:27:18 UTC 2008


To answer my own question:

if grep <<<${TM_CURRENT_WORD:-!} -Esq '^[a-zA-Z0-9_]+$'
	then
		URL="${TM_CURRENT_WORD//_/-}"
		URL="http://smarty.net/$URL"
		exit_show_html "<meta http-equiv='Refresh' content='0;URL=$URL'>"
	else echo "Nothing to lookup (hint: place the caret on a function  
name)"
fi


Mvh Christoffer Winterkvist
---------------------------------------
oprah at noodlemantra.eu




On 19, Nov,2008, at 16:06, Christoffer Winterkvist wrote:

> Hi,
>
> Is there a 'Documentation for Word' function for Smarty (like the one
> in the PHP bundle).
> Both the PHP and Smarty manual look pretty much alike so it should not
> be that hard to do?
>
> Mvh Christoffer Winterkvist
> ---------------------------------------
> oprah at noodlemantra.eu
>
>
>
>
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate




More information about the textmate mailing list