[TxMt] Toggle Comment with no selection

Allan Odgaard throw-away-1 at macromates.com
Mon Nov 7 15:19:39 UTC 2005


On 07/11/2005, at 16.08, Jonas Witt wrote:

> [...] This change of behaviour would be really useful. If Allan  
> doesn't want to change the default behaviour, maybe it would be  
> possible to add a (hidden?) option for it?

The problem is that Toggle Comment is just a script that works on the  
selection, so there's no easy way to change it.

Though I can add that it aborts when there is no selection, maybe  
showing a tool tip.




More information about the textmate mailing list