Well, the problem rectified itself without any changes from me (when I opened TextMate again to get the data you requested everything worked fine...), so I guess it's not an issue anymore, though I would like to know what happened.  I was simply following along with the screen cast, working in a C file and using the scope comment.block (though i tried many others, as reported by ctrl-shift-P) all with the same results.  The command I was testing with was cat, so nothing complex.

Thanks for the reply anyway.
:habib

On 6/3/07, Michael Sheets <mummer@whitefalls.org> wrote:
On Jun 3, 2007, at 5:00 PM, Habib Loew wrote:

> I'm attempting to write a command which uses the scope for input as
> in the "Scope based customization" screencast, but I'm running into
> a strange issue.  Even though the scope does appear to be correctly
> managing when my command is allowed to run the input to my command
> is always the whole document (unless I have a selection in the
> correct scope, in which case I get the correct selection).

Need more information like what language this is and which scope you
have the command set to target. Sample document and the command
itself (drag it out of the bundle editor to the desktop) would make
it a lot easier to help.

______________________________________________________________________
For new threads USE THIS: textmate@lists.macromates.com
(threading gets destroyed and the universe will collapse if you don't)
http://lists.macromates.com/mailman/listinfo/textmate