SQL syntax highlightning don't work for single backslash '\'

From: <mammoth(dot)power(at)gmx(dot)us>
To: <pgadmin-support(at)postgresql(dot)org>
Subject: SQL syntax highlightning don't work for single backslash '\'
Date: 2017-05-22 19:17:06
Message-ID: 001401d2d330$00d362b0$027a2810$@gmx.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

When I have somewhere in text value single backslash char, then everything
behind this char will not be highlighted correct.

Simple example 1:

SELECT '\';

Simple example 2:

-- Test 1

SELECT a || '\' || b

UNION ALL

-- Test 2

SELECT c || '\' || d;

Screenshots of syntax highlighting:

Single backslash:

Dual backslash:

pgAdmin 4 v1.5

Desktop Runtime

Windows 10 x64 1511

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message mammoth.power 2017-05-22 19:36:52 Query Editor: Size of last column can't be increased
Previous Message mammoth.power 2017-05-22 18:48:42 Start of pgAdmin 1.5 takes longer then in 1.4