When editing multiline strings syntax highlighting continues until end of file
This seems to occur only when I make changes to a backslash at the beginning or end of a line, or insert a new line in the middle of a string. Sometimes this causes string-style syntax highlighting to end at the edited line without reaching the end of the string and sometimes it highlights the entire rest of the file as if I left out the closing quotation mark.
Other than closing and reopening the file, it can generally be corrected by hitting tab on the first line of the string.
I've noticed this using Emacs 25.3.1 on OS X 10.12.6. I could try to reproduce with Linux at home; I'm not generally writing long SQL queries there to have noticed it otherwise.
Can you give an example? I haven't noticed this in my code and I have some multiline strings.
e.g.
"Donec neque quam, dignissim in, mollis nec, sagittis eu, \
\wisi. Etiam vel neque nec dui dignissim bibendum. "
Can't reproduce with GNU Emacs 26.1 (build 1, i686-pc-linux-gnu, GTK+ Version 3.14.5) of 2018-04-10
As there is no respond, maybe close?