diff options
-rw-r--r-- | doc/ScintillaHistory.html | 6 | ||||
-rw-r--r-- | lexers/LexSQL.cxx | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index 3b867255d..fb59fd490 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> @@ -567,6 +569,10 @@ <a href="http://sourceforge.net/p/scintilla/bugs/1919/">Bug #1919</a>. </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> + <li> Ensure redraw when application changes overtype mode so caret change visible even when not blinking. Notify application with SC_UPDATE_SELECTION when overtype changed - previously sent SC_UPDATE_CONTENT. diff --git a/lexers/LexSQL.cxx b/lexers/LexSQL.cxx index 871f4dce1..c88514359 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 == '\"') { |