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@noodlemantra.eu
To answer my own question:
if grep <<<${TM_CURRENT_WORD:-!} -Esq '^[a-zA-Z0-9_]+$' then URL="${TM_CURRENT_WORD//_/-}" URL="http://smarty.net/%24URL" 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@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@noodlemantra.eu
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate