The only thing that we need to know to bound a GAT recipe to a Visual Studio element is the command bar and id for that element.
This is the related information for the text editor window:
<CommandBar Guid="d309f791-903f-11d0-9efc-00a0c911004f" ID="1037"/>
With this, we can execute a recipe from the Text Editor Window. Really cool...
Pablo