Balance Jr 2.5 for TextMate

by Thomas Aylott Fri, 12 May 2006 18:35:00 GMT

㊷ Balance Jr2.5

tAylott_subtleGradient.tmbundle.zip

Or as always, you can grab all my stuff from my subversion repository. http://textmate.svn.subtlegradient.com/

Also added are a couple commands to preview the currently selected Ruby on Rails view with Safari or inside TextMate.

    1 (?x)                                           
    2 <(\w+)[^>]*>[^<]*</\1>                         # HTML tags that don't contain text
    3 |(?<=(<%@\s|<%\#\s|<%=\s))[^%]*(?=\s%>)        # The contents of various other forms of Embedded source
    4 |(?<=<%\s)[^%]*(?=\s%>)                        # The contents of Embedded source
    5 |(?<=<!--\s)[^->]*(?=\s-->)                    # HTML Comments
    6 |\b[\w-]+\b(?=\s*=)                            # HTML Attribute name
    7 |\s\b[\w-]+\b=\"[^\"]*\"                       # HTML Attribute name value pair
    8 |(?<=\")[^\"\n<>]*(?=\")                       # HTML Compatible String Double
    9 |(?<=\')[^\'\n]*(?=\')                         # 'String Single'
   10 |(?<=\[)[^\[\]]*(?=\])                         # [Square Brackets]
   11 |(?<={)[^{}]*(?=})                             # {Curly Brackets}
   12 |(?<=[^/]>)[^><]*(?=</)                        # >Text Inside HTML Tag</
   13 |\#[0-9a-fA-F]{6}                              # Hex Colors #AABBCC
   14 |\#[0-9a-fA-F]{3}                              # Hex Colors #ABC
   15 |(?<![\d])-?\d+(?:\.\d+)?(?!=\d)               # Number 123 123.123 -123
   16 |[@$!]\w+\b                                    # @variables $variables !etc
   17 |(?<=/\*).*(?=\*/)                             # /* Contents of Comment Blocks */
   18 |/\*.*\*/                                      # /* Comment Blocks */
   19 |(?<=:)[^;}\n]*(?=;)                           # CSS Attribute Values
   20 |(?<=[\(,:])[^\(\),\n]*(?=[\),;])              # Comma Delimitated
   21 |<[^>]*/>                                      # Closed xHTML Tags
   22 |(?<=\")(?=(>|/>| />))                         # Placer for adding HTML Attribute Values
   23 |<[^>]*>                                       # HTML Tags
   24 |(?<=\")[^\"\n]*(?=\")                         # String Double
   25 # Thomas Aylott <oblivious@subtleGradient.com> #

RSS feed for this post |Trackback from your site |Add your comment

  1. This has since been silently updated to 2.6 btw

  2. Hi Thomas! thanks for adding my Bundle to “your” svn, but could you give me commit rights so i can update it? please contact me you have my email now

  3. I am a tard but I am unsure how to install this. I tried double clicking and I get teh dialog to restart Textmate but I am not sure if this is active. Am I missing something? Any help would be great!

    Sedated 23 days
  4. Once it’s installed, just use your home and end keys to use it.

    If you want to remap the keys it uses, you can just go into the bundle editor and change them.

  5. testing

    Tea Sting!!1! 53 days
  6. For IE 7 Beta 3 that trick no longer works.

    You’ll need to use the trick for running Internet Explorer 7 BETA 3 as a standalone app over at TredoSoft.

    Works perfectly.

    I went ahead and made a shortcut to it in my Windows Launchbar™, added the IE7 icon and renamed it Internet Explorer 7. You can also default it to minimized in the shortcut properties window.