[TxMt] Insert CSS Import drag command

Peter Haza peter.haza at gmail.com
Thu Feb 7 08:18:32 UTC 2008


I've made a drag command for dragging css files into other css files.  
The current behavior when you drag a css file onto another is to paste  
the content of the dragged css into the other css.
This command will rather insert an @import url("relative/path/to/css");

The import rule for css is specified here: http://www.w3.org/TR/REC-CSS2/cascade.html#at-import


-------------- next part --------------
A non-text attachment was scrubbed...
Name: Insert CSS Import.tmDragCommand
Type: application/octet-stream
Size: 673 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20080207/9130ca3f/attachment.tmDragCommand>
-------------- next part --------------

More information about the textmate mailing list