-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Jun 17, 2006, at 3:51 PM, Charilaos Skiadas wrote:
On Jun 17, 2006, at 6:33 PM, Mike Mellor wrote:
I am working on a command to sort my GTD list by context. The problem I have is that if I have not saved the file, the command sorts the saved version of the file instead of what's currently in TextMate. How do I select the current file instead of the saved file? Thanks.
You can either set the entire document as the input to the command, and then process that, or you can tell the command to save the file first.
Mike
Haris
Maybe I'm using the wrong variable - I'm trying to use 'TM_SELECTED_TEXT' but that doesn't seem to work. I would prefer to work with the current version (buffer) than the saved file. Thanks.
Mike