RE: purple letters

From: "Hibbard, Brandon" <Brandon(dot)Hibbard(at)zimmerbiomet(dot)com>
To: Murtuza Zabuawala <murtuza(dot)zabuawala(at)enterprisedb(dot)com>, Dave Page <dpage(at)pgadmin(dot)org>
Cc: "pgadmin-support(at)lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org>
Subject: RE: purple letters
Date: 2017-09-25 17:07:52
Message-ID: 9ba2b5b1e7804a5889ee535e87d6d27e@SBDEXDAG01.zmr.zimmer.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Thanks Dave and Murtuza,

I didn’t realize that they were SQL keywords. Thanks for taking the time to answer my question.

I am really liking the improvements to pgAdmin 4. Keep up the good work!

From: Murtuza Zabuawala [mailto:murtuza(dot)zabuawala(at)enterprisedb(dot)com]
Sent: Friday, September 22, 2017 11:06 AM
To: Dave Page
Cc: Hibbard, Brandon; pgadmin-support(at)lists(dot)postgresql(dot)org
Subject: Re: purple letters

Hi,

The characters which are in purple colour are are valid SQL keywords hence highlighted by CodeMirror :-)
Ref: https://www.postgresql.org/docs/10/static/sql-keywords-appendix.html

--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com<http://www.enterprisedb.com/>
The Enterprise PostgreSQL Company
[Image removed by sender.]

On Fri, Sep 22, 2017 at 6:38 PM, Dave Page <dpage(at)pgadmin(dot)org<mailto:dpage(at)pgadmin(dot)org>> wrote:

On Fri, Sep 22, 2017 at 1:53 PM, Hibbard, Brandon <Brandon(dot)Hibbard(at)zimmerbiomet(dot)com<mailto:Brandon(dot)Hibbard(at)zimmerbiomet(dot)com>> wrote:
Hello,

I have a quick question on the code highlighting. I often use a single character as an alias for tables in joins. I have noticed that some letters are colored purple while others are black. Is there a reason for this? I have attached an image showing what I mean. The image was taken from version 2.0-rc2.

Some weirdness from codemirror I suspect, but I have no idea what exactly. I think one of the other EDB guys looked at it's parser once, and may be able to suggest.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Darren Duncan 2017-09-25 20:53:10 Re: purple letters
Previous Message Melvin Davidson 2017-09-25 14:00:28 Re: Inability to export data as '.csv' file in pgAdmin4