0

Python quote handling not correct.

Momodonk 10 years ago updated by Alexander Blach (Developer) 10 years ago 2
Cannot handle single quote embedded in double quote string. String colour highlight will continue until another single quote is found
Here is an example

print ("| ***" ,name,"'s score: ", potentotal,"| Computer's score: " ,potentotal2)

Thank you for reporting this. It 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.