Permalink
Browse files

Merge commit 'origin/forkq'

  • Loading branch information...
2 parents 75ba9a7 + 2f70f46 commit 04d9af0875b6fb2edeb2d41d59c2036e16407bea @aussiegeek aussiegeek committed Mar 22, 2009
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>beforeRunningCommand</key>
+ <string>nop</string>
+ <key>command</key>
+ <string>export RUBYLIB="$TM_BUNDLE_SUPPORT/vendor/rcodetools/lib${RUBYLIB:+:$RUBYLIB}"
+export TM_RUBY=$(which "${TM_RUBY:-ruby}")
+
+"${TM_RUBY}" -e "require 'rubygems'; gem 'haml'; require 'sass/css'; puts Sass::CSS.new(ENV['TM_SELECTED_TEXT']).render"</string>
+ <key>input</key>
+ <string>selection</string>
+ <key>keyEquivalent</key>
+ <string>~@c</string>
+ <key>name</key>
+ <string>Convert CSS to SASS</string>
+ <key>output</key>
+ <string>replaceSelectedText</string>
+ <key>uuid</key>
+ <string>9083E047-CEBE-41C9-BCF7-6E8131094888</string>
+</dict>
+</plist>
@@ -0,0 +1,192 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>beforeRunningCommand</key>
+ <string>nop</string>
+ <key>command</key>
+ <string>#!/usr/bin/env ruby
+
+require ENV['TM_SUPPORT_PATH'] + "/lib/ui"
+require ENV['TM_SUPPORT_PATH'] + "/lib/exit_codes"
+colour = STDIN.read
+
+# http://www.w3schools.com/css/css_colornames.asp
+COLOURS = {
+ 'aliceblue' =&gt; 'F0F8FF',
+ 'antiquewhite' =&gt; 'FAEBD7',
+ 'aqua' =&gt; '00FFFF',
+ 'aquamarine' =&gt; '7FFFD4',
+ 'azure' =&gt; 'F0FFFF',
+ 'beige' =&gt; 'F5F5DC',
+ 'bisque' =&gt; 'FFE4C4',
+ 'black' =&gt; '000000',
+ 'blanchedalmond' =&gt; 'FFEBCD',
+ 'blue' =&gt; '0000FF',
+ 'blueviolet' =&gt; '8A2BE2',
+ 'brown' =&gt; 'A52A2A',
+ 'burlywood' =&gt; 'DEB887',
+ 'cadetblue' =&gt; '5F9EA0',
+ 'chartreuse' =&gt; '7FFF00',
+ 'chocolate' =&gt; 'D2691E',
+ 'coral' =&gt; 'FF7F50',
+ 'cornflowerblue' =&gt; '6495ED',
+ 'cornsilk' =&gt; 'FFF8DC',
+ 'crimson' =&gt; 'DC143C',
+ 'cyan' =&gt; '00FFFF',
+ 'darkblue' =&gt; '00008B',
+ 'darkcyan' =&gt; '008B8B',
+ 'darkgoldenrod' =&gt; 'B8860B',
+ 'darkgray' =&gt; 'A9A9A9',
+ 'darkgrey' =&gt; 'A9A9A9',
+ 'darkgreen' =&gt; '006400',
+ 'darkkhaki' =&gt; 'BDB76B',
+ 'darkmagenta' =&gt; '8B008B',
+ 'darkolivegreen' =&gt; '556B2F',
+ 'darkorange' =&gt; 'FF8C00',
+ 'darkorchid' =&gt; '9932CC',
+ 'darkred' =&gt; '8B0000',
+ 'darksalmon' =&gt; 'E9967A',
+ 'darkseagreen' =&gt; '8FBC8F',
+ 'darkslateblue' =&gt; '483D8B',
+ 'darkslategray' =&gt; '2F4F4F',
+ 'darkslategrey' =&gt; '2F4F4F',
+ 'darkturquoise' =&gt; '00CED1',
+ 'darkviolet' =&gt; '9400D3',
+ 'deeppink' =&gt; 'FF1493',
+ 'deepskyblue' =&gt; '00BFFF',
+ 'dimgray' =&gt; '696969',
+ 'dimgrey' =&gt; '696969',
+ 'dodgerblue' =&gt; '1E90FF',
+ 'firebrick' =&gt; 'B22222',
+ 'floralwhite' =&gt; 'FFFAF0',
+ 'forestgreen' =&gt; '228B22',
+ 'fuchsia' =&gt; 'FF00FF',
+ 'gainsboro' =&gt; 'DCDCDC',
+ 'ghostwhite' =&gt; 'F8F8FF',
+ 'gold' =&gt; 'FFD700',
+ 'goldenrod' =&gt; 'DAA520',
+ 'gray' =&gt; '808080',
+ 'grey' =&gt; '808080',
+ 'green' =&gt; '008000',
+ 'greenyellow' =&gt; 'ADFF2F',
+ 'honeydew' =&gt; 'F0FFF0',
+ 'hotpink' =&gt; 'FF69B4',
+ 'indianred' =&gt; 'CD5C5C',
+ 'indigo' =&gt; '4B0082',
+ 'ivory' =&gt; 'FFFFF0',
+ 'khaki' =&gt; 'F0E68C',
+ 'lavender' =&gt; 'E6E6FA',
+ 'lavenderblush' =&gt; 'FFF0F5',
+ 'lawngreen' =&gt; '7CFC00',
+ 'lemonchiffon' =&gt; 'FFFACD',
+ 'lightblue' =&gt; 'ADD8E6',
+ 'lightcoral' =&gt; 'F08080',
+ 'lightcyan' =&gt; 'E0FFFF',
+ 'lightgoldenrodyellow' =&gt; 'FAFAD2',
+ 'lightgray' =&gt; 'D3D3D3',
+ 'lightgrey' =&gt; 'D3D3D3',
+ 'lightgreen' =&gt; '90EE90',
+ 'lightpink' =&gt; 'FFB6C1',
+ 'lightsalmon' =&gt; 'FFA07A',
+ 'lightseagreen' =&gt; '20B2AA',
+ 'lightskyblue' =&gt; '87CEFA',
+ 'lightslategray' =&gt; '778899',
+ 'lightslategrey' =&gt; '778899',
+ 'lightsteelblue' =&gt; 'B0C4DE',
+ 'lightyellow' =&gt; 'FFFFE0',
+ 'lime' =&gt; '00FF00',
+ 'limegreen' =&gt; '32CD32',
+ 'linen' =&gt; 'FAF0E6',
+ 'magenta' =&gt; 'FF00FF',
+ 'maroon' =&gt; '800000',
+ 'mediumaquamarine' =&gt; '66CDAA',
+ 'mediumblue' =&gt; '0000CD',
+ 'mediumorchid' =&gt; 'BA55D3',
+ 'mediumpurple' =&gt; '9370D8',
+ 'mediumseagreen' =&gt; '3CB371',
+ 'mediumslateblue' =&gt; '7B68EE',
+ 'mediumspringgreen' =&gt; '00FA9A',
+ 'mediumturquoise' =&gt; '48D1CC',
+ 'mediumvioletred' =&gt; 'C71585',
+ 'midnightblue' =&gt; '191970',
+ 'mintcream' =&gt; 'F5FFFA',
+ 'mistyrose' =&gt; 'FFE4E1',
+ 'moccasin' =&gt; 'FFE4B5',
+ 'navajowhite' =&gt; 'FFDEAD',
+ 'navy' =&gt; '000080',
+ 'oldlace' =&gt; 'FDF5E6',
+ 'olive' =&gt; '808000',
+ 'olivedrab' =&gt; '6B8E23',
+ 'orange' =&gt; 'FFA500',
+ 'orangered' =&gt; 'FF4500',
+ 'orchid' =&gt; 'DA70D6',
+ 'palegoldenrod' =&gt; 'EEE8AA',
+ 'palegreen' =&gt; '98FB98',
+ 'paleturquoise' =&gt; 'AFEEEE',
+ 'palevioletred' =&gt; 'D87093',
+ 'papayawhip' =&gt; 'FFEFD5',
+ 'peachpuff' =&gt; 'FFDAB9',
+ 'peru' =&gt; 'CD853F',
+ 'pink' =&gt; 'FFC0CB',
+ 'plum' =&gt; 'DDA0DD',
+ 'powderblue' =&gt; 'B0E0E6',
+ 'purple' =&gt; '800080',
+ 'red' =&gt; 'FF0000',
+ 'rosybrown' =&gt; 'BC8F8F',
+ 'royalblue' =&gt; '4169E1',
+ 'saddlebrown' =&gt; '8B4513',
+ 'salmon' =&gt; 'FA8072',
+ 'sandybrown' =&gt; 'F4A460',
+ 'seagreen' =&gt; '2E8B57',
+ 'seashell' =&gt; 'FFF5EE',
+ 'sienna' =&gt; 'A0522D',
+ 'silver' =&gt; 'C0C0C0',
+ 'skyblue' =&gt; '87CEEB',
+ 'slateblue' =&gt; '6A5ACD',
+ 'slategray' =&gt; '708090',
+ 'slategrey' =&gt; '708090',
+ 'snow' =&gt; 'FFFAFA',
+ 'springgreen' =&gt; '00FF7F',
+ 'steelblue' =&gt; '4682B4',
+ 'tan' =&gt; 'D2B48C',
+ 'teal' =&gt; '008080',
+ 'thistle' =&gt; 'D8BFD8',
+ 'tomato' =&gt; 'FF6347',
+ 'turquoise' =&gt; '40E0D0',
+ 'violet' =&gt; 'EE82EE',
+ 'wheat' =&gt; 'F5DEB3',
+ 'white' =&gt; 'FFFFFF',
+ 'whitesmoke' =&gt; 'F5F5F5',
+ 'yellow' =&gt; 'FFFF00',
+ 'yellowgreen' =&gt; '9ACD32',
+}
+
+if colour.length &gt; 0 and colour[0] != ?#
+ colour.downcase!
+ # Convert named colours to their hex values
+ colour = '#' + COLOURS[colour] if COLOURS.has_key? colour
+end
+
+if res = TextMate::UI.request_color(colour)
+ print res
+else
+ TextMate.exit_discard
+end
+</string>
+ <key>fallbackInput</key>
+ <string>word</string>
+ <key>input</key>
+ <string>selection</string>
+ <key>keyEquivalent</key>
+ <string>@C</string>
+ <key>name</key>
+ <string>Insert Color…</string>
+ <key>output</key>
+ <string>replaceSelectedText</string>
+ <key>scope</key>
+ <string>source.sass, meta.tag string.quoted -source</string>
+ <key>uuid</key>
+ <string>D3488358-116A-4962-BFFE-311DD27066C3</string>
+</dict>
+</plist>
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>beforeRunningCommand</key>
+ <string>nop</string>
+ <key>command</key>
+ <string>cd "$TM_BUNDLE_PATH"
+
+echo "&lt;pre&gt;"
+[ -d ".svn" ] &amp;&amp; svn up
+[ -d ".git" ] &amp;&amp; git pull
+[ ! -d .svn ] &amp;&amp; [ ! -d .git ] &amp;&amp; echo "You must install the bundle using Subversion or Git in order to update via this command."
+
+osascript -e 'tell app "TextMate" to reload bundles'
+
+echo "&lt;/pre&gt;"</string>
+ <key>input</key>
+ <string>selection</string>
+ <key>name</key>
+ <string>Update Bundle</string>
+ <key>output</key>
+ <string>showAsHTML</string>
+ <key>uuid</key>
+ <string>287703AC-4C16-4D87-8A6A-128B17829C66</string>
+</dict>
+</plist>
@@ -0,0 +1,151 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>name</key>
+ <string>Property completions</string>
+ <key>scope</key>
+ <string>source.sass meta.property-name.sass</string>
+ <key>settings</key>
+ <dict>
+ <key>completions</key>
+ <array>
+ <string>-moz-border-radius</string>
+ <string>azimuth</string>
+ <string>background</string>
+ <string>background-attachment</string>
+ <string>background-color</string>
+ <string>background-image</string>
+ <string>background-position</string>
+ <string>background-repeat</string>
+ <string>border</string>
+ <string>border-bottom</string>
+ <string>border-bottom-color</string>
+ <string>border-bottom-style</string>
+ <string>border-bottom-width</string>
+ <string>border-collapse</string>
+ <string>border-color</string>
+ <string>border-left</string>
+ <string>border-left-color</string>
+ <string>border-left-style</string>
+ <string>border-left-width</string>
+ <string>border-right</string>
+ <string>border-right-color</string>
+ <string>border-right-style</string>
+ <string>border-right-width</string>
+ <string>border-spacing</string>
+ <string>border-style</string>
+ <string>border-top</string>
+ <string>border-top-color</string>
+ <string>border-top-style</string>
+ <string>border-top-width</string>
+ <string>border-width</string>
+ <string>bottom</string>
+ <string>caption-side</string>
+ <string>clear</string>
+ <string>clip</string>
+ <string>color</string>
+ <string>content</string>
+ <string>counter-increment</string>
+ <string>counter-reset</string>
+ <string>cue</string>
+ <string>cue-after</string>
+ <string>cue-before</string>
+ <string>cursor</string>
+ <string>direction</string>
+ <string>display</string>
+ <string>elevation</string>
+ <string>empty-cells</string>
+ <string>float</string>
+ <string>font</string>
+ <string>font-family</string>
+ <string>font-size</string>
+ <string>font-size-adjust</string>
+ <string>font-stretch</string>
+ <string>font-style</string>
+ <string>font-variant</string>
+ <string>font-weight</string>
+ <string>height</string>
+ <string>left</string>
+ <string>letter</string>
+ <string>letter-spacing</string>
+ <string>line-height</string>
+ <string>list</string>
+ <string>list-style</string>
+ <string>list-style-image</string>
+ <string>list-style-position</string>
+ <string>list-style-type</string>
+ <string>margin</string>
+ <string>margin-bottom</string>
+ <string>margin-left</string>
+ <string>margin-right</string>
+ <string>margin-top</string>
+ <string>marker</string>
+ <string>marker-offset</string>
+ <string>marks</string>
+ <string>max-height</string>
+ <string>max-width</string>
+ <string>min-height</string>
+ <string>min-width</string>
+ <string>opacity</string>
+ <string>orphans</string>
+ <string>outline</string>
+ <string>outline-color</string>
+ <string>outline-style</string>
+ <string>outline-width</string>
+ <string>overflow</string>
+ <string>overflow(-[xy])?</string>
+ <string>padding</string>
+ <string>padding-bottom</string>
+ <string>padding-left</string>
+ <string>padding-right</string>
+ <string>padding-top</string>
+ <string>page</string>
+ <string>page-break-after</string>
+ <string>page-break-before</string>
+ <string>page-break-inside</string>
+ <string>pause</string>
+ <string>pause-after</string>
+ <string>pause-before</string>
+ <string>pitch</string>
+ <string>pitch-range</string>
+ <string>play-during</string>
+ <string>position</string>
+ <string>quotes</string>
+ <string>richness</string>
+ <string>right</string>
+ <string>scrollbar</string>
+ <string>size</string>
+ <string>speak</string>
+ <string>speak-header</string>
+ <string>speak-numeral</string>
+ <string>speak-punctuation</string>
+ <string>speech-rate</string>
+ <string>stress</string>
+ <string>table-layout</string>
+ <string>text</string>
+ <string>text-align</string>
+ <string>text-decoration</string>
+ <string>text-indent</string>
+ <string>text-shadow</string>
+ <string>text-transform</string>
+ <string>top</string>
+ <string>unicode-bidi</string>
+ <string>vertical</string>
+ <string>vertical-align</string>
+ <string>visibility</string>
+ <string>voice-family</string>
+ <string>volume</string>
+ <string>white</string>
+ <string>white-space</string>
+ <string>widows</string>
+ <string>width</string>
+ <string>word</string>
+ <string>word-spacing</string>
+ <string>z-index</string>
+ </array>
+ </dict>
+ <key>uuid</key>
+ <string>E63656BB-D88B-4B7E-92F5-D60AE0229F1E</string>
+</dict>
+</plist>
Oops, something went wrong.

0 comments on commit 04d9af0

Please sign in to comment.