On Sep 12, 2008, at 4:10 PM, Christoph Wockel wrote:
I have the following problem. When I try to give the Scope as input to a command, Textmate not only passes the present scope, but the whole document to the script (for any document type that I tried, e.g. Latex, Perl and C). According to the documentation, only the present scope should be passed to the script, delimited by the first and next position of the curser, where the present scope would change.
Perhaps I am getting something completely wrong, I would appreciate any help.
It passes everything that matches the scope given in the scope selector in both directions from the caret.