[TxMt] Problem with "Selected Text or Scope"

Matt Cable wozz at wookie.net
Thu Dec 3 03:42:48 UTC 2009


I'm working on a command to reflow perl/shell style # comments and running into a problem with scopes.  

When I do a 'select scope' with the mouse on a comment, it correctly selects the surrounding lines beginning with #.  However,  if I set up a simple 'cat' command (seen here: http://grab.by/WGt) with the input set to "Selected Text or Scope" and the output set to tooltip, the tooltip is displaying the entire contents of the file (seen here: http://grab.by/WHB)

I'm running Version 1.5.8 (1509) on 10.6.2.  What am I missing?  Thanks!

Matt


More information about the textmate mailing list