[TxMt] Insert Command Header

Allan Odgaard throw-away-1 at macromates.com
Tue Oct 31 17:45:28 UTC 2006


On 31. Oct 2006, at 16:39, Emmanuel Turquin wrote:

> The 'Insert Command Header' snippet in the 'source' bundle has '//'  
> hardcoded as the start comment token. Wouldn't it make more sense  
> to turn it into a command that would take each language comment  
> delimiters into account?

Yes, except that some languages/users have block comment characters  
set as the default.

So if it should be changed, it would need to be a command that  
scanned through the array of comment delimiters, and found the first  
single line comment character.




More information about the textmate mailing list