diff options
-rw-r--r-- | doc/ScintillaHistory.html | 14 | ||||
-rw-r--r-- | lexers/LexSQL.cxx | 2 |
2 files changed, 15 insertions, 1 deletions
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index 6b3dfd681..cdf7d42c5 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -511,6 +511,8 @@ <td>Thorsten Kani</td> <td>Bernhard M. Wiedemann</td> <td>Baldur Karlsson</td> + </tr><tr> + <td>Justin Clift</td> </tr> </table> <p> @@ -523,6 +525,18 @@ </li> </ul> <h3> + <a href="http://www.scintilla.org/scite401.zip">Release 4.0.1</a> + </h3> + <ul> + <li> + Released 16 August 2017. + </li> + <li> + The SQL lexer uses sql.backslash.escapes for double quoted strings. + <a href="http://sourceforge.net/p/scintilla/bugs/1968/">Bug #1968</a>. + </li> + </ul> + <h3> <a href="http://www.scintilla.org/scite400.zip">Release 4.0.0</a> </h3> <ul> diff --git a/lexers/LexSQL.cxx b/lexers/LexSQL.cxx index 635e3efe0..447cc20f3 100644 --- a/lexers/LexSQL.cxx +++ b/lexers/LexSQL.cxx @@ -547,7 +547,7 @@ void SCI_METHOD LexerSQL::Lex(Sci_PositionU startPos, Sci_Position length, int i } break; case SCE_SQL_STRING: - if (sc.ch == '\\') { + if (options.sqlBackslashEscapes && sc.ch == '\\') { // Escape sequence sc.Forward(); } else if (sc.ch == '\"') { |