Fixed incorrect highlighting for C-Style escape strings in SQL editor. #7485

This commit is contained in:
Aditya Toshniwal 2024-05-20 10:13:30 +05:30
parent ad5bb0b190
commit 9647482791
2 changed files with 3 additions and 1 deletions

View File

@ -37,4 +37,5 @@ Bug fixes
| `Issue #6086 <https://github.com/pgadmin-org/pgadmin4/issues/6086>`_ - Fixed an issue where drag and drop publication and subscription name in SQL editors was not working.
| `Issue #6464 <https://github.com/pgadmin-org/pgadmin4/issues/6464>`_ - Fixed an issue of the pgAdmin window size increasing each time it was reopened.
| `Issue #7349 <https://github.com/pgadmin-org/pgadmin4/issues/7349>`_ - Update the documentation for preferences dialog and keyboard shortcuts.
| `Issue #7458 <https://github.com/pgadmin-org/pgadmin4/issues/7458>`_ - Remove query info notifier timeout field from Query Tool Preferences Dialog.
| `Issue #7458 <https://github.com/pgadmin-org/pgadmin4/issues/7458>`_ - Remove query info notifier timeout field from Query Tool Preferences Dialog.
| `Issue #7485 <https://github.com/pgadmin-org/pgadmin4/issues/7485>`_ - Fixed incorrect highlighting for C-Style escape strings in SQL editor.

View File

@ -4,6 +4,7 @@ const extraKeywords = 'unsafe';
const keywords = PostgreSQL.spec.keywords.replace(/\b\w\b/, '') + ' ' + extraKeywords;
const PgSQL = SQLDialect.define({
backslashEscapes: true,
charSetCasts: true,
doubleDollarQuotedStrings: false,
operatorChars: '+-*/<>=~!@#%^&|`?',