On May 6, 2008, at 9:58 PM, Allan Odgaard wrote:
On 2 May 2008, at 03:26, Michael Manti wrote:
I have written a command to "Reflow comments" in my Stata do files. The command is as follows: [...] If I invoke the command with the cursor in the middle [...] I get the desired output:
However, if I instead select the entire block of text, I get the following mangled result: [...]
My guess is that when you fully select the comment, the scope of the selection is not so that your command’s scope selector targets it, and you get the default implementation of ⌃Q (assuming you invoke this by the ⌃Q key equivalent).
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
Ah! Thank you. I was checking the scope with the cursor at the beginning or end of the text, but without selecting it. Hence my confusion.