+2

Textastic is not interpreting quotes correctly when colouring the code.

thebookyard 10 years ago updated by Alexander Blach (Developer) 10 years ago 1
I am editing in PHP syntax mode but Textastic is not interpreting quotes correctly when colouring the code. A line like $sql="update COMPANY set name = '" . $name . "' "; will interpret the first single quote as closing the first double quote.  See example below of this effect.
Must say that apart from this I think this product is fantastic and have been waiting for a stable code editor with SFTP support for years. Thankyou.

This is a known problem with the syntax highlighter. See http://feedback.textasticapp.com/feedback/7433-syntax-highlighting-is-sometimes-wrong-with-strings-quotes-quotation-marks/

Sorry, but this is an annoying bug in a regular expression but I can't fix easily without rewriting a lot of the highlighter.