Your comments

Along these lines can Textastic support an option like -w where the editor will wait until the tab with the file is closed so Textastic can be used to write a checkin message to git/mercurial/svn etc.?