mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-24 07:16:52 -06:00
Fixed incorrect highlighting for C-Style escape strings in SQL editor. #7485
This commit is contained in:
parent
ad5bb0b190
commit
9647482791
@ -38,3 +38,4 @@ Bug fixes
|
||||
| `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 #7485 <https://github.com/pgadmin-org/pgadmin4/issues/7485>`_ - Fixed incorrect highlighting for C-Style escape strings in SQL editor.
|
||||
|
@ -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: '+-*/<>=~!@#%^&|`?',
|
||||
|
Loading…
Reference in New Issue
Block a user