Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

updated comments & about text for the variable assignment script

  • Loading branch information...
commit 328dc829305e0ea15b2947218f150b424cc70f67 1 parent 582fbca
@nathos authored
View
12 Commands/Align Variable Assignments.tmCommand
@@ -7,9 +7,9 @@
<key>command</key>
<string>#!/usr/bin/env ruby
#
-# Sass variable block tidier, version 0.1.
+# Sass variable block tidier, version 0.2.
#
-# Copyright Nathan Henderson 2010
+# Copyright Nathan Henderson 2010-2011
# based on Assignment block tidier, version 0.1. by Chris Poirier 2006.
#
# This script can be used as a command for TextMate to align all
@@ -87,10 +87,10 @@ end
#
# Now, iterate over the block and find the best column number
-# for the = sign. The pattern will tell us the position of the
-# first bit of whitespace before the equal sign. We put the
-# equals sign to the right of the furthest-right one. Note that
-# we cannot assume every line in the block is relevant.
+# for the colon. The pattern will tell us the position of the
+# first bit of whitespace before the colon. We put the colon
+# to the right of the furthest-right one. Note that we cannot
+# assume every line in the block is relevant.
best_column = 0
block_top.upto(block_bottom) do |number|
View
4 Commands/Insert Color….tmCommand
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<!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>
@@ -26,8 +26,6 @@ printf '%s%02X%02X%02X', prefix, *col
<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>
Please sign in to comment.
Something went wrong with that request. Please try again.