Hi, If the first quote is after a space, there is no problem. If it just after a character its behaviour depends on the content between quotes: - if the text is an actual keyword, it will be highlighted as a keyword, and the string terminates correctly - with any other text the string does not terminate and everything after is colored as a string
In both cases the highlighting is actually wrong, and it is linked to the way PSPad manages single quotes when the first quote is preceded by a character instead of a space. The problem does not appear with double quotes. (viz https://framapic.org/5Ol1IZfsSiYJ/edCAbQztsYkM.png ) In the syntax definition, both single and double quotes are activated. Maybe desactivating single quote will do the trick, but it would be illogical. I have already observed this problem, but lived with it. I wonder if this is linked to the fact that for some languages (actual language, not programming), as in French, the single quote is used to bind two words and avoid weird pronunciations (such as "L'erreur est humaine"). But this would mean that the single quote option in the syntax definition is useless... -- François <http://forum.pspad.com/read.php?2,66504,66515> PSPad freeware editor http://www.pspad.com
