[TxMt] All purpose CSS Image Drag Command

Brett Terpstra brett at circlesixdesign.com
Tue Oct 24 15:21:12 UTC 2006


Great idea from porneL, it now inserts a tab-stopped selector,  
background:, width: and height: for the dragged image if it's dropped  
into a source.css or course.css.embedded.html scope outside of a meta  
selector.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Insert Image URL 2.tmDragCommand
Type: application/octet-stream
Size: 1582 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20061024/aa866e0b/attachment.tmDragCommand>
-------------- next part --------------


On Oct 24, 2006, at 7:25 AM, porneL wrote:

> On Tue, 24 Oct 2006 12:27:07 +0100, Brett Terpstra  
> <brett at circlesixdesign.com> wrote:
>
>> I figured out how to all-purpose-ify the image drag command.  Now
>> with one command, it can handle multiple situations.  If you drag it:
>>
>> Outside a selector/property (source.css): nothing happens
>
> you could create a new rule, with background: width: and height:.
>
> -- 
> regards, porneL
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate



More information about the textmate mailing list