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.<br><br>Thanks for the reply anyway.<br>:habib<br><br><div><span class="gmail_quote">
On 6/3/07, <b class="gmail_sendername">Michael Sheets</b> <<a href="mailto:mummer@whitefalls.org">mummer@whitefalls.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Jun 3, 2007, at 5:00 PM, Habib Loew wrote:<br><br>> I'm attempting to write a command which uses the scope for input as<br>> in the "Scope based customization" screencast, but I'm running into<br>
> a strange issue. Even though the scope does appear to be correctly<br>> managing when my command is allowed to run the input to my command<br>> is always the whole document (unless I have a selection in the<br>
> correct scope, in which case I get the correct selection).<br><br>Need more information like what language this is and which scope you<br>have the command set to target. Sample document and the command<br>itself (drag it out of the bundle editor to the desktop) would make
<br>it a lot easier to help.<br><br>______________________________________________________________________<br>For new threads USE THIS: <a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>(threading gets destroyed and the universe will collapse if you don't)
<br><a href="http://lists.macromates.com/mailman/listinfo/textmate">http://lists.macromates.com/mailman/listinfo/textmate</a><br></blockquote></div><br>