[TxMt] Re: @return<tab> = hex?

Hans-Jörg Bibiko bibiko at eva.mpg.de
Fri Nov 14 18:57:41 UTC 2008


On 14.11.2008, at 18:43, Gaby Vanhegan wrote:

> When coding in AS3 in TextMate I like to put in some nice JavaDoc  
> style comments:
>
> /**
> *	Fetch up a dice from the server
> *	@param	Number	dice_num	Which dice to get (1-6)
> *	@return	NetDice				Populated dice info object
> *	@access	private
> */
>
> 	@return<tab>...
>
> The value gets automatically converted into this:
>
> 	@&#x21A9;

1)
Did you set the language grammar to Actionscript 3 ?

2)
Place to caret just after the 'n' of @return and press CTRL+SHIFT+P  
to show the current scope. What do you see? Anything with 'html'?

This behaviour actually only occurs if the scope is an HTML one.

--Hans



More information about the textmate mailing list