I copied the comment/uncomment program from the editor module documentation. I saved it with the name "Toggle Comment", then added it to the actions menu. Whenever I select text to comment out, then tap the button for this program, it never comments the selected text. Instead, it highlights the title of the current program, as if I had tapped the rename file feature. The only time I've gotten this program to work is when I run it on itself, using the run button instead of the Actions Menu.
Why won't it run on the text in the editor? I'm using a recent version of Pythonista with iOS v5.1.1.