Your comments

Thank for the quick response Alexander, and thanks for Textastic – am also looking forward to iCloud sync support for my iOS devices ;)

For me, slash escaping of quotes is where things are going wrong (Python source). Many of my source files have strings like "isn\'t" in them. All source below them is then incorrectly syntax highlighted.