[TxMt] My CSS drag command contribution

Brett Terpstra brett at circlesixdesign.com
Mon Oct 23 23:15:05 UTC 2006


To add on to James' nifty drag commands, here's mine for adding a  
complete background line in a definition.  It's tab stopped a little  
differently than the normal background command, as I have modified  
mine to the way that my brain works.

I'm not sure how the rest of you will feel about the newline at the  
end, it works for me with the way I format my code.  Feel free to  
pull it and the -e argument out from the echo statement.

File Types: png, jpeg, jpg, gif

echo -ne "background:\${1: #\${2:DDD}} url('$TM_DROPPED_FILE')\${3: \$ 
{4:repeat/repeat-x/repeat-y/no-repeat} \${5:scroll/fixed} \${6:top/ 
center/bottom/x-%/x-pos} \${7:left/center/right/y-%/y-pos}};\n\$0"

Scope: meta.property-list.css


Brett Terpstra : Art Director
Circle Six Design, Inc.
111 Riverfront Dr, Suite 204
..................................................
p: 507.459.4398
     877.858.4332
f: 1.866.540.3063
e: brett at circlesixdesign.com
http://www.circlesixdesign.com
..................................................




Brett Terpstra : Art Director
Circle Six Design, Inc.
111 Riverfront Dr, Suite 204
..................................................
p: 507.459.4398
     877.858.4332
f: 1.866.540.3063
e: brett at circlesixdesign.com
http://www.circlesixdesign.com
..................................................


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20061023/12dc8b21/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Insert Image URL.tmDragCommand
Type: application/octet-stream
Size: 901 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20061023/12dc8b21/attachment.tmDragCommand>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20061023/12dc8b21/attachment-0001.html>


More information about the textmate mailing list